source: general/prog/cmake.xml@ fd372f6

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 fd372f6 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
RevLine 
[57f7cfa]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
[2bcddd4]7 <!ENTITY cmake-download-http "http://www.cmake.org/files/v&cmake-major-version;/cmake-&cmake-version;.tar.gz">
[57f7cfa]8 <!ENTITY cmake-download-ftp " ">
[8ed30d52]9 <!ENTITY cmake-md5sum "17c6513483d23590cbce6957ec6d1e66">
[407637c]10 <!ENTITY cmake-size "5.8 MB">
[8ed30d52]11 <!ENTITY cmake-buildsize "222 MB (additional 175 MB for tests)">
12 <!ENTITY cmake-time "1.5 SBU (additional 3.5 SBU for tests)">
[57f7cfa]13]>
14
[b7b6efc]15<sect1 id="cmake" xreflabel="CMake-&cmake-version;">
[57f7cfa]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
[b7b6efc]32 <para>
[0d7900a]33 The <application>CMake</application> package contains a modern
34 toolset used for generating Makefiles. It is a successor of the
[b7b6efc]35 auto-generated <command>configure</command> script and aims to
[0d7900a]36 be platform- and compiler-independent. A significant user of
[b7b6efc]37 <application>CMake</application> is <application>KDE</application>
38 since version 4.
39 </para>
[57f7cfa]40
[6392ac9]41 &lfs75_checked;
[57f7cfa]42
43 <bridgehead renderas="sect3">Package Information</bridgehead>
44 <itemizedlist spacing="compact">
45 <listitem>
[b7b6efc]46 <para>
47 Download (HTTP): <ulink url="&cmake-download-http;"/>
48 </para>
[57f7cfa]49 </listitem>
50 <listitem>
[b7b6efc]51 <para>
52 Download (FTP): <ulink url="&cmake-download-ftp;"/>
53 </para>
[57f7cfa]54 </listitem>
55 <listitem>
[b7b6efc]56 <para>
57 Download MD5 sum: &cmake-md5sum;
58 </para>
[57f7cfa]59 </listitem>
60 <listitem>
[b7b6efc]61 <para>
62 Download size: &cmake-size;
63 </para>
[57f7cfa]64 </listitem>
65 <listitem>
[b7b6efc]66 <para>
67 Estimated disk space required: &cmake-buildsize;
68 </para>
[57f7cfa]69 </listitem>
70 <listitem>
[b7b6efc]71 <para>
72 Estimated build time: &cmake-time;
73 </para>
[57f7cfa]74 </listitem>
75 </itemizedlist>
76
[dae9ec4]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
[57f7cfa]87 <bridgehead renderas="sect3">CMake Dependencies</bridgehead>
88
[e1b2c0e]89 <bridgehead renderas="sect4">Recommended</bridgehead>
90 <para role="recommended">
[56605b9]91 <xref linkend="curl"/> and
92 <xref linkend="libarchive"/>
[b88be39]93 </para>
94
[2bcddd4]95 <bridgehead renderas="sect4">Optional</bridgehead>
[b88be39]96 <para role="optional">
[2bcddd4]97 <xref linkend="subversion"/> (for testing) and
[e51a42b6]98 <xref linkend="qt4"/> or <xref linkend="qt5"/> (for the Qt-based GUI)
[57f7cfa]99 </para>
100
101 <para condition="html" role="usernotes">User Notes:
[b7b6efc]102 <ulink url="&blfs-wiki;/cmake"/>
103 </para>
[57f7cfa]104 </sect2>
105
106 <sect2 role="installation">
107 <title>Installation of CMake</title>
108
[b7b6efc]109 <para>
110 Install <application>CMake</application> by running the following
111 commands:
112 </para>
[57f7cfa]113
[dae9ec4]114<screen><userinput>patch -Np1 -i ../cmake-&cmake-version;-freetype-1.patch &amp;&amp;
115./bootstrap --prefix=/usr \
[b88be39]116 --system-libs \
[57f7cfa]117 --mandir=/share/man \
[dae9ec4]118 --docdir=/share/doc/cmake-&cmake-version; &amp;&amp;
[57f7cfa]119make</userinput></screen>
120
[b7b6efc]121 <para>
[dfff8213]122 To test the results, issue: <command>make -k test</command>. Some
[94b68056]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.
[b7b6efc]126 </para>
[b88be39]127
[b7b6efc]128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
[57f7cfa]131
132<screen role="root"><userinput>make install</userinput></screen>
133
134 </sect2>
135
136 <sect2 role="commands">
137 <title>Command Explanations</title>
138
[b7b6efc]139 <para>
[407637c]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.
[b7b6efc]145 </para>
[0d7900a]146
[b7b6efc]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>
[57f7cfa]152
153 </sect2>
154
155 <sect2 role="content">
156 <title>Contents</title>
157
158 <segmentedlist>
[fd27868]159 <segtitle>Installed Programs</segtitle>
[c3c56b2]160 <segtitle>Installed Libraries</segtitle>
[fd27868]161 <segtitle>Installed Directories</segtitle>
[57f7cfa]162
163 <seglistitem>
[b7b6efc]164 <seg>
[8ed30d52]165 ccmake, cmake, cmake-gui (optional), cpack and ctest
[b7b6efc]166 </seg>
[c3c56b2]167 <seg>
168 None
169 </seg>
[b7b6efc]170 <seg>
171 /usr/share/cmake-&cmake-major-version; and
172 /usr/share/doc/cmake-&cmake-version;
173 </seg>
[57f7cfa]174 </seglistitem>
175 </segmentedlist>
176
[0d7900a]177
[57f7cfa]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>
[b7b6efc]186 <para>
187 is a curses based interactive frontend to
188 <command>cmake</command>.
189 </para>
[57f7cfa]190 <indexterm zone="cmake ccmake">
191 <primary sortas="b-ccmake">ccmake</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
[b7b6efc]196 <varlistentry id="cmake-prog">
[57f7cfa]197 <term><command>cmake</command></term>
198 <listitem>
[b7b6efc]199 <para>
200 is the makefile generator.
201 </para>
202 <indexterm zone="cmake cmake-prog">
[57f7cfa]203 <primary sortas="b-cmake">cmake</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
[0d7900a]207
[2bcddd4]208 <varlistentry id="cmake-gui">
209 <term><command>cmake-gui</command></term>
210 <listitem>
[b7b6efc]211 <para>
[8ed30d52]212 (optional) is the <application>Qt</application>-based frontent to
[b7b6efc]213 <command>cmake</command>.
214 </para>
[2bcddd4]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>
[b7b6efc]224 <para>
225 is the <application>CMake</application> packaging program.
226 </para>
[2bcddd4]227 <indexterm zone="cmake cpack">
228 <primary sortas="b-cpack">cpack</primary>
229 </indexterm>
230 </listitem>
[0d7900a]231 </varlistentry>
232
[2bcddd4]233 <varlistentry id="ctest">
234 <term><command>ctest</command></term>
235 <listitem>
[b7b6efc]236 <para>
237 is a testing utility for cmake-generated build trees.
238 </para>
[2bcddd4]239 <indexterm zone="cmake ctest">
240 <primary sortas="b-ctest">ctest</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
[57f7cfa]244
245 </variablelist>
246
247 </sect2>
248
249</sect1>
Note: See TracBrowser for help on using the repository browser.