CMake-2.8.11.2

Introduction to CMake

The CMake package contains a modern toolset used for generating Makefiles. It is a successor of the auto-generated configure script and aims to be platform- and compiler-independent. A significant user of CMake is KDE since version 4.

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

Package Information

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

  • Download MD5 sum: 6f5d7b8e7534a5d9e1a7664ba63cf882

  • Download size: 5.6 MB

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

  • Estimated build time: 2.0 SBU (additional 3.5 SBU for the test suite)

CMake Dependencies

Recommended

Optional

Subversion-1.8.3 (for testing) and Qt-4.8.5 (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.11.2 &&
make

To test the results, issue: make test.

Now, as the root user:

make install

Command Explanations

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

--qt-gui: This switch enables building of the 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.11.2

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 2013-08-23 13:56:44 -0700