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 |
|
---|
8 | <sect1 id="ch-system-cmake" role="wrap">
|
---|
9 | <?dbhtml filename="cmake.html"?>
|
---|
10 |
|
---|
11 | <sect1info condition="script">
|
---|
12 | <productname>cmake</productname>
|
---|
13 | <productnumber>&cmake-version;</productnumber>
|
---|
14 | <address>&cmake-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
17 | <title>CMake-&cmake-version;</title>
|
---|
18 |
|
---|
19 | <indexterm zone="ch-system-cmake">
|
---|
20 | <primary sortas="a-CMake">CMake</primary>
|
---|
21 | </indexterm>
|
---|
22 |
|
---|
23 | <sect2 role="package">
|
---|
24 | <title/>
|
---|
25 |
|
---|
26 | <para>The CMake package contains a modern toolset used for generating
|
---|
27 | Makefiles. It is a successor of the auto-generated configure script and
|
---|
28 | aims to be platform- and compiler-independent. A significant user of
|
---|
29 | CMake is LLVM.</para>
|
---|
30 |
|
---|
31 | <segmentedlist>
|
---|
32 | <segtitle>&buildtime;</segtitle>
|
---|
33 | <segtitle>&diskspace;</segtitle>
|
---|
34 |
|
---|
35 | <seglistitem>
|
---|
36 | <seg>&cmake-final-sbu;</seg>
|
---|
37 | <seg>&cmake-final-du;</seg>
|
---|
38 | </seglistitem>
|
---|
39 | </segmentedlist>
|
---|
40 |
|
---|
41 | </sect2>
|
---|
42 |
|
---|
43 | <sect2 role="installation">
|
---|
44 | <title>Installation of CMake</title>
|
---|
45 |
|
---|
46 | <para>Prevents applications using CMake from attempting to install files
|
---|
47 | into <filename class='directory'>lib64</filename>:</para>
|
---|
48 |
|
---|
49 | <screen><userinput remap="pre">sed -i '/"lib64"/s/64//' Modules/GNUInstallDirs.cmake</userinput></screen>
|
---|
50 |
|
---|
51 | <para>Prepare CMake for compilation:</para>
|
---|
52 |
|
---|
53 | <screen><userinput remap="configure">./bootstrap --prefix=/usr --no-system-libs</userinput></screen>
|
---|
54 |
|
---|
55 | <para>Compile CMake by running:</para>
|
---|
56 |
|
---|
57 | <screen><userinput remap="make">make</userinput></screen>
|
---|
58 |
|
---|
59 | <para>Install the package:</para>
|
---|
60 |
|
---|
61 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
62 |
|
---|
63 | </sect2>
|
---|
64 |
|
---|
65 | <sect2 role="content" id='contents-cmake'>
|
---|
66 | <title>Contents of CMake</title>
|
---|
67 |
|
---|
68 | <segmentedlist>
|
---|
69 | <segtitle>Installed Programs</segtitle>
|
---|
70 | <segtitle>Installed Directories</segtitle>
|
---|
71 |
|
---|
72 | <seglistitem>
|
---|
73 | <seg>
|
---|
74 | ccmake, cmake, cpack, and ctest
|
---|
75 | </seg>
|
---|
76 | <seg>
|
---|
77 | /usr/share/cmake-&cmake-majmin; and
|
---|
78 | /usr/share/doc/cmake-&cmake-version;
|
---|
79 | </seg>
|
---|
80 | </seglistitem>
|
---|
81 | </segmentedlist>
|
---|
82 |
|
---|
83 | <variablelist>
|
---|
84 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
85 | <?dbfo list-presentation="list"?>
|
---|
86 | <?dbhtml list-presentation="table"?>
|
---|
87 |
|
---|
88 | <varlistentry id="ccmake">
|
---|
89 | <term><command>ccmake</command></term>
|
---|
90 | <listitem>
|
---|
91 | <para>
|
---|
92 | is a curses based interactive frontend to
|
---|
93 | <command>cmake</command>
|
---|
94 | </para>
|
---|
95 | <indexterm zone="ch-system-cmake">
|
---|
96 | <primary sortas="b-ccmake">ccmake</primary>
|
---|
97 | </indexterm>
|
---|
98 | </listitem>
|
---|
99 | </varlistentry>
|
---|
100 |
|
---|
101 | <varlistentry id="cmake-prog">
|
---|
102 | <term><command>cmake</command></term>
|
---|
103 | <listitem>
|
---|
104 | <para>
|
---|
105 | is the makefile generator
|
---|
106 | </para>
|
---|
107 | <indexterm zone="ch-system-cmake">
|
---|
108 | <primary sortas="b-cmake">cmake</primary>
|
---|
109 | </indexterm>
|
---|
110 | </listitem>
|
---|
111 | </varlistentry>
|
---|
112 |
|
---|
113 | <varlistentry id="cpack">
|
---|
114 | <term><command>cpack</command></term>
|
---|
115 | <listitem>
|
---|
116 | <para>
|
---|
117 | is the <application>CMake</application> packaging program
|
---|
118 | </para>
|
---|
119 | <indexterm zone="ch-system-cmake">
|
---|
120 | <primary sortas="b-cpack">cpack</primary>
|
---|
121 | </indexterm>
|
---|
122 | </listitem>
|
---|
123 | </varlistentry>
|
---|
124 |
|
---|
125 | <varlistentry id="ctest">
|
---|
126 | <term><command>ctest</command></term>
|
---|
127 | <listitem>
|
---|
128 | <para>
|
---|
129 | is a testing utility for cmake-generated build trees
|
---|
130 | </para>
|
---|
131 | <indexterm zone="ch-system-cmake">
|
---|
132 | <primary sortas="b-ctest">ctest</primary>
|
---|
133 | </indexterm>
|
---|
134 | </listitem>
|
---|
135 | </varlistentry>
|
---|
136 | </variablelist>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 | </sect1>
|
---|