source: general/prog/cmake.xml@ 9c24d38

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 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 9c24d38 was b7b6efc, checked in by Krejzi <krejzi@…>, 11 years ago

Package updates, see changelog for details.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10950 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 "097278785da7182ec0aea8769d06860c">
10 <!ENTITY cmake-size "5.6 MB">
11 <!ENTITY cmake-buildsize "255 MB (including tests)">
12 <!ENTITY cmake-time "1.9 SBU (additional 3.1 SBU for the test suite)">
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 &lfs72_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">Required</bridgehead>
80 <para role="required">
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="qt"/> (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 <option>--system-libs</option>: This switch forces the build system to
128 link against <application>Zlib</application>, <application>Bzip2</application>,
129 <application>cURL</application> and <application>Expat</application> installed
130 on the system.
131 </para>
132
133 <para>
134 <option>--qt-gui</option>: This switch enables building of the
135 <application>Qt</application>-based GUI for
136 <application>CMake</application>.
137 </para>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Programs</segtitle>
146 <segtitle>Installed Directories</segtitle>
147
148 <seglistitem>
149 <seg>
150 ccmake, cmake, cmake-gui, cpack and ctest
151 </seg>
152 <seg>
153 /usr/share/cmake-&cmake-major-version; and
154 /usr/share/doc/cmake-&cmake-version;
155 </seg>
156 </seglistitem>
157 </segmentedlist>
158
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="ccmake">
166 <term><command>ccmake</command></term>
167 <listitem>
168 <para>
169 is a curses based interactive frontend to
170 <command>cmake</command>.
171 </para>
172 <indexterm zone="cmake ccmake">
173 <primary sortas="b-ccmake">ccmake</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="cmake-prog">
179 <term><command>cmake</command></term>
180 <listitem>
181 <para>
182 is the makefile generator.
183 </para>
184 <indexterm zone="cmake cmake-prog">
185 <primary sortas="b-cmake">cmake</primary>
186 </indexterm>
187 </listitem>
188 </varlistentry>
189
190 <varlistentry id="cmake-gui">
191 <term><command>cmake-gui</command></term>
192 <listitem>
193 <para>
194 is the <application>Qt</application>-based frontent to
195 <command>cmake</command>.
196 </para>
197 <indexterm zone="cmake cmake-gui">
198 <primary sortas="b-cmake-gui">cmake-gui</primary>
199 </indexterm>
200 </listitem>
201 </varlistentry>
202
203 <varlistentry id="cpack">
204 <term><command>cpack</command></term>
205 <listitem>
206 <para>
207 is the <application>CMake</application> packaging program.
208 </para>
209 <indexterm zone="cmake cpack">
210 <primary sortas="b-cpack">cpack</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="ctest">
216 <term><command>ctest</command></term>
217 <listitem>
218 <para>
219 is a testing utility for cmake-generated build trees.
220 </para>
221 <indexterm zone="cmake ctest">
222 <primary sortas="b-ctest">ctest</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 </variablelist>
228
229 </sect2>
230
231</sect1>
Note: See TracBrowser for help on using the repository browser.