source: general/prog/cmake.xml@ dfff8213

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 dfff8213 was dfff8213, checked in by Pierre Labastie <pieere@…>, 10 years ago

change <userinput> to <command> in test instructions, as per the template

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

  • Property mode set to 100644
File size: 6.8 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 "9d38cd4e2c94c3cea97d0e2924814acc">
10 <!ENTITY cmake-size "5.8 MB">
11 <!ENTITY cmake-buildsize "247 MB (additional 176 MB for tests)">
12 <!ENTITY cmake-time "0.9 SBU (additional 5.5 SBU for tests)">
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: <command>make -k test</command>. Some
113 tests may fail for unknown reasons. Other tests depend on the
114 availability of remote sites, and may fail if those sites are
115 not available.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <parameter>--system-libs</parameter>: This switch forces the build system
131 to link against <application>Zlib</application>,
132 <application>Bzip2</application>, <application>cURL</application>,
133 <application>Expat</application> and <application>libarchive</application>
134 installed on the system.
135 </para>
136
137 <para>
138 <option>--qt-gui</option>: This switch enables building of the
139 <application>Qt</application>-based GUI for
140 <application>CMake</application>.
141 </para>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 ccmake, cmake, cmake-gui, cpack and ctest
156 </seg>
157 <seg>
158 None
159 </seg>
160 <seg>
161 /usr/share/cmake-&cmake-major-version; and
162 /usr/share/doc/cmake-&cmake-version;
163 </seg>
164 </seglistitem>
165 </segmentedlist>
166
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="ccmake">
174 <term><command>ccmake</command></term>
175 <listitem>
176 <para>
177 is a curses based interactive frontend to
178 <command>cmake</command>.
179 </para>
180 <indexterm zone="cmake ccmake">
181 <primary sortas="b-ccmake">ccmake</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 <varlistentry id="cmake-prog">
187 <term><command>cmake</command></term>
188 <listitem>
189 <para>
190 is the makefile generator.
191 </para>
192 <indexterm zone="cmake cmake-prog">
193 <primary sortas="b-cmake">cmake</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="cmake-gui">
199 <term><command>cmake-gui</command></term>
200 <listitem>
201 <para>
202 is the <application>Qt</application>-based frontent to
203 <command>cmake</command>.
204 </para>
205 <indexterm zone="cmake cmake-gui">
206 <primary sortas="b-cmake-gui">cmake-gui</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="cpack">
212 <term><command>cpack</command></term>
213 <listitem>
214 <para>
215 is the <application>CMake</application> packaging program.
216 </para>
217 <indexterm zone="cmake cpack">
218 <primary sortas="b-cpack">cpack</primary>
219 </indexterm>
220 </listitem>
221 </varlistentry>
222
223 <varlistentry id="ctest">
224 <term><command>ctest</command></term>
225 <listitem>
226 <para>
227 is a testing utility for cmake-generated build trees.
228 </para>
229 <indexterm zone="cmake ctest">
230 <primary sortas="b-ctest">ctest</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.