source: general/prog/cmake.xml@ 57f7cfa

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 57f7cfa was 57f7cfa, checked in by Thomas Trepl <thomas@…>, 13 years ago

Add new package libarchive and cmake

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

  • Property mode set to 100644
File size: 5.3 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/v2.8/cmake-&cmake-version;.tar.gz">
8 <!ENTITY cmake-download-ftp " ">
9 <!ENTITY cmake-md5sum "a76a44b93acf5e3badda9de111385921">
10 <!ENTITY cmake-size "5.3 MB">
11 <!ENTITY cmake-buildsize "132 MB">
12 <!ENTITY cmake-time "1.3 SBU">
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>The <application>CMake</application> package contains a modern toolset used
33 for generating Makefiles. It is a successor of the auto-generated
34 <filename>configure</filename> script.</para>
35
36 &lfs67_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&cmake-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&cmake-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &cmake-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &cmake-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &cmake-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &cmake-time;</para>
57 </listitem>
58 </itemizedlist>
59
60<!--
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing='compact'>
63 <listitem>
64 <para>Required patch: <ulink
65 url="&patch-root;/cmake-&cmake-version;-fixes-1.patch"/></para>
66 </listitem>
67 </itemizedlist>
68-->
69
70 <bridgehead renderas="sect3">CMake Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="libarchive"/>
75 <xref linkend="expat"/>
76 </para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/cmake"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of CMake</title>
85
86 <para>Install <application>CMake</application> by running the following
87 commands:</para>
88
89<screen><userinput>./bootstrap --prefix=/usr \
90 --system-libs \
91 --mandir=/share/man \
92 --docdir=/share/doc/cmake-&cmake-version; &amp;&amp;
93make</userinput></screen>
94
95 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
96
97<screen role="root"><userinput>make install</userinput></screen>
98
99 <para>CMake supports DESTDIR in the generated Makefiles as well as in the Makefile
100 used to build CMake itself.</para>
101
102 </sect2>
103
104 <sect2 role="commands">
105 <title>Command Explanations</title>
106
107 <para><option>--system-libs</option>: This option forces the build system
108 to link against <application>zlib</application>, <application>curl</application> and
109 <application>expat</application> installed on the system.</para>
110
111 </sect2>
112
113 <sect2 role="content">
114 <title>Contents</title>
115
116 <segmentedlist>
117 <segtitle>Installed Program</segtitle>
118 <segtitle>Installed Library</segtitle>
119 <segtitle>Installed Directory</segtitle>
120
121 <seglistitem>
122 <seg>ctest, cpack, ccmake and cmake</seg>
123 <seg></seg>
124 <seg>/usr/share/cmake-&cmake-version;, /usr/share/doc/cmake-&cmake-version;</seg>
125 </seglistitem>
126 </segmentedlist>
127
128 <variablelist>
129 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
130 <?dbfo list-presentation="list"?>
131 <?dbhtml list-presentation="table"?>
132
133 <varlistentry id="ctest">
134 <term><command>ctest</command></term>
135 <listitem>
136 <para>is a testing utility for cmake-generated build trees.</para>
137 <indexterm zone="cmake ctest">
138 <primary sortas="b-ctest">ctest</primary>
139 </indexterm>
140 </listitem>
141 </varlistentry>
142
143 <varlistentry id="cpack">
144 <term><command>cpack</command></term>
145 <listitem>
146 <para>is the CMake packaging program.</para>
147 <indexterm zone="cmake cpack">
148 <primary sortas="b-cpack">cpack</primary>
149 </indexterm>
150 </listitem>
151 </varlistentry>
152
153 <varlistentry id="ccmake">
154 <term><command>ccmake</command></term>
155 <listitem>
156 <para>is a curses based interactive frontend to cmake.</para>
157 <indexterm zone="cmake ccmake">
158 <primary sortas="b-ccmake">ccmake</primary>
159 </indexterm>
160 </listitem>
161 </varlistentry>
162
163 <varlistentry id="c_make">
164 <term><command>cmake</command></term>
165 <listitem>
166 <para>is the makefile generator.</para>
167 <indexterm zone="cmake c_make">
168 <primary sortas="b-cmake">cmake</primary>
169 </indexterm>
170 </listitem>
171 </varlistentry>
172
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.