CMake-2.8.7

Introduction to CMake

The CMake package contains a modern toolset used for generating Makefiles. It is a successor of the auto-generated configure script.

This package is known to build and work properly using an LFS-7.1 platform.

Package Information

  • Download (HTTP): http://www.cmake.org/files/v2.8/cmake-2.8.7.tar.gz

  • Download MD5 sum: e1b237aeaed880f65dec9c20602452f6

  • Download size: 5.4 MB

  • Estimated disk space required: 220 MB (including tests)

  • Estimated build time: 1.8 SBU (additional 6.5 SBU for the test suite)

CMake Dependencies

Required

cURL-7.25.0, libarchive-3.0.3, and expat-2.1.0

Optional

Subversion-1.7.4 (for testing) and Qt-4.8.1 (for the Qt-based GUI)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cmake

Installation of CMake

Install CMake by running the following commands:

./bootstrap --prefix=/usr       \
            --system-libs       \
            --mandir=/share/man \
            --docdir=/share/doc/cmake-2.8.7 &&
make

To test the results, issue: make test. The SVN test may fail.

Now, as the root user:

make install

Command Explanations

--system-libs: This option forces the build system to link against Zlib, Bzip2, cURL and Expat installed on the system.

--qt-gui: This option builds a Qt-based GUI for CMake.

Contents

Installed Programs: ccmake, cmake, cmake-gui, cpack and ctest
Installed Libraries: None
Installed Directories: /usr/share/cmake-2.8 and /usr/share/doc/cmake-2.8.7

Short Descriptions

ccmake

is a curses based interactive frontend to cmake.

cmake

is the makefile generator.

cmake-gui

is the Qt-based frontent to CMake.

cpack

is the CMake packaging program.

ctest

is a testing utility for cmake-generated build trees.

Last updated on 2012-04-09 12:50:25 +0000