source: general/prog/cmake.xml@ adf6dd9a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since adf6dd9a was 407637c, checked in by Igor Živković <igor@…>, 11 years ago

update to cmake-2.8.12

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11958 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY cmake-download-http "http://www.cmake.org/files/v&cmake-major-version;/cmake-&cmake-version;.tar.gz">
8 <!ENTITY cmake-download-ftp " ">
9 <!ENTITY cmake-md5sum "105bc6d21cc2e9b6aff901e43c53afea">
10 <!ENTITY cmake-size "5.8 MB">
11 <!ENTITY cmake-buildsize "254 MB">
12 <!ENTITY cmake-time "1.4 SBU">
13]>
14
15<sect1 id="cmake" xreflabel="CMake-&cmake-version;">
16 <?dbhtml filename="cmake.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>CMake-&cmake-version;</title>
24
25 <indexterm zone="cmake">
26 <primary sortas="a-CMake">CMake</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to CMake</title>
31
32 <para>
33 The <application>CMake</application> package contains a modern
34 toolset used for generating Makefiles. It is a successor of the
35 auto-generated <command>configure</command> script and aims to
36 be platform- and compiler-independent. A significant user of
37 <application>CMake</application> is <application>KDE</application>
38 since version 4.
39 </para>
40
41 &lfs74_checked;
42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
46 <para>
47 Download (HTTP): <ulink url="&cmake-download-http;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download (FTP): <ulink url="&cmake-download-ftp;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download MD5 sum: &cmake-md5sum;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download size: &cmake-size;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated disk space required: &cmake-buildsize;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated build time: &cmake-time;
73 </para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">CMake Dependencies</bridgehead>
78
79 <bridgehead renderas="sect4">Recommended</bridgehead>
80 <para role="recommended">
81 <xref linkend="curl"/>,
82 <xref linkend="libarchive"/> and
83 <xref linkend="expat"/>
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="subversion"/> (for testing) and
89 <xref linkend="qt4"/> (for the Qt-based GUI)
90 </para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/cmake"/>
94 </para>
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of CMake</title>
99
100 <para>
101 Install <application>CMake</application> by running the following
102 commands:
103 </para>
104
105<screen><userinput>./bootstrap --prefix=/usr \
106 --system-libs \
107 --mandir=/share/man \
108 --docdir=/share/doc/cmake-&cmake-version; &amp;&amp;
109make</userinput></screen>
110
111 <para>
112 To test the results, issue: <userinput>make test</userinput>.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <parameter>--system-libs</parameter>: This switch forces the build system
128 to link against <application>Zlib</application>,
129 <application>Bzip2</application>, <application>cURL</application>,
130 <application>Expat</application> and <application>libarchive</application>
131 installed on the system.
132 </para>
133
134 <para>
135 <option>--qt-gui</option>: This switch enables building of the
136 <application>Qt</application>-based GUI for
137 <application>CMake</application>.
138 </para>
139
140 </sect2>
141
142 <sect2 role="content">
143 <title>Contents</title>
144
145 <segmentedlist>
146 <segtitle>Installed Programs</segtitle>
147 <segtitle>Installed Libraries</segtitle>
148 <segtitle>Installed Directories</segtitle>
149
150 <seglistitem>
151 <seg>
152 ccmake, cmake, cmake-gui, cpack and ctest
153 </seg>
154 <seg>
155 None
156 </seg>
157 <seg>
158 /usr/share/cmake-&cmake-major-version; and
159 /usr/share/doc/cmake-&cmake-version;
160 </seg>
161 </seglistitem>
162 </segmentedlist>
163
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="ccmake">
171 <term><command>ccmake</command></term>
172 <listitem>
173 <para>
174 is a curses based interactive frontend to
175 <command>cmake</command>.
176 </para>
177 <indexterm zone="cmake ccmake">
178 <primary sortas="b-ccmake">ccmake</primary>
179 </indexterm>
180 </listitem>
181 </varlistentry>
182
183 <varlistentry id="cmake-prog">
184 <term><command>cmake</command></term>
185 <listitem>
186 <para>
187 is the makefile generator.
188 </para>
189 <indexterm zone="cmake cmake-prog">
190 <primary sortas="b-cmake">cmake</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="cmake-gui">
196 <term><command>cmake-gui</command></term>
197 <listitem>
198 <para>
199 is the <application>Qt</application>-based frontent to
200 <command>cmake</command>.
201 </para>
202 <indexterm zone="cmake cmake-gui">
203 <primary sortas="b-cmake-gui">cmake-gui</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="cpack">
209 <term><command>cpack</command></term>
210 <listitem>
211 <para>
212 is the <application>CMake</application> packaging program.
213 </para>
214 <indexterm zone="cmake cpack">
215 <primary sortas="b-cpack">cpack</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 <varlistentry id="ctest">
221 <term><command>ctest</command></term>
222 <listitem>
223 <para>
224 is a testing utility for cmake-generated build trees.
225 </para>
226 <indexterm zone="cmake ctest">
227 <primary sortas="b-ctest">ctest</primary>
228 </indexterm>
229 </listitem>
230 </varlistentry>
231
232 </variablelist>
233
234 </sect2>
235
236</sect1>
Note: See TracBrowser for help on using the repository browser.