source: general/prog/cmake.xml@ 1fb54051

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 1fb54051 was 56605b9, checked in by Bruce Dubbs <bdubbs@…>, 10 years ago

Remove XML::Parser from perl modules
Archive acl, attr, intltool, expat, gperf
Synchronize libcap with LFS.

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

  • Property mode set to 100644
File size: 7.1 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 "17c6513483d23590cbce6957ec6d1e66">
10 <!ENTITY cmake-size "5.8 MB">
11 <!ENTITY cmake-buildsize "222 MB (additional 175 MB for tests)">
12 <!ENTITY cmake-time "1.5 SBU (additional 3.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 &lfs75_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">Additional Downloads</bridgehead>
78 <itemizedlist spacing="compact">
79 <listitem>
80 <para>
81 Required patch:
82 <ulink url="&patch-root;/cmake-&cmake-version;-freetype-1.patch"/>
83 </para>
84 </listitem>
85 </itemizedlist>
86
87 <bridgehead renderas="sect3">CMake Dependencies</bridgehead>
88
89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
91 <xref linkend="curl"/> and
92 <xref linkend="libarchive"/>
93 </para>
94
95 <bridgehead renderas="sect4">Optional</bridgehead>
96 <para role="optional">
97 <xref linkend="subversion"/> (for testing) and
98 <xref linkend="qt4"/> or <xref linkend="qt5"/> (for the Qt-based GUI)
99 </para>
100
101 <para condition="html" role="usernotes">User Notes:
102 <ulink url="&blfs-wiki;/cmake"/>
103 </para>
104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of CMake</title>
108
109 <para>
110 Install <application>CMake</application> by running the following
111 commands:
112 </para>
113
114<screen><userinput>patch -Np1 -i ../cmake-&cmake-version;-freetype-1.patch &amp;&amp;
115./bootstrap --prefix=/usr \
116 --system-libs \
117 --mandir=/share/man \
118 --docdir=/share/doc/cmake-&cmake-version; &amp;&amp;
119make</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>make -k test</command>. Some
123 tests may fail for unknown reasons. Other tests depend on the
124 availability of remote sites, and may fail if those sites are
125 not available.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
139 <para>
140 <parameter>--system-libs</parameter>: This switch forces the build system
141 to link against <application>Zlib</application>,
142 <application>Bzip2</application>, <application>cURL</application>,
143 <application>Expat</application> and <application>libarchive</application>
144 installed on the system.
145 </para>
146
147 <para>
148 <option>--qt-gui</option>: This switch enables building of the
149 <application>Qt</application>-based GUI for
150 <application>CMake</application>.
151 </para>
152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
159 <segtitle>Installed Programs</segtitle>
160 <segtitle>Installed Libraries</segtitle>
161 <segtitle>Installed Directories</segtitle>
162
163 <seglistitem>
164 <seg>
165 ccmake, cmake, cmake-gui (optional), cpack and ctest
166 </seg>
167 <seg>
168 None
169 </seg>
170 <seg>
171 /usr/share/cmake-&cmake-major-version; and
172 /usr/share/doc/cmake-&cmake-version;
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="ccmake">
184 <term><command>ccmake</command></term>
185 <listitem>
186 <para>
187 is a curses based interactive frontend to
188 <command>cmake</command>.
189 </para>
190 <indexterm zone="cmake ccmake">
191 <primary sortas="b-ccmake">ccmake</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="cmake-prog">
197 <term><command>cmake</command></term>
198 <listitem>
199 <para>
200 is the makefile generator.
201 </para>
202 <indexterm zone="cmake cmake-prog">
203 <primary sortas="b-cmake">cmake</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="cmake-gui">
209 <term><command>cmake-gui</command></term>
210 <listitem>
211 <para>
212 (optional) is the <application>Qt</application>-based frontent to
213 <command>cmake</command>.
214 </para>
215 <indexterm zone="cmake cmake-gui">
216 <primary sortas="b-cmake-gui">cmake-gui</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="cpack">
222 <term><command>cpack</command></term>
223 <listitem>
224 <para>
225 is the <application>CMake</application> packaging program.
226 </para>
227 <indexterm zone="cmake cpack">
228 <primary sortas="b-cpack">cpack</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="ctest">
234 <term><command>ctest</command></term>
235 <listitem>
236 <para>
237 is a testing utility for cmake-generated build trees.
238 </para>
239 <indexterm zone="cmake ctest">
240 <primary sortas="b-ctest">ctest</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 </variablelist>
246
247 </sect2>
248
249</sect1>
Note: See TracBrowser for help on using the repository browser.