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.5 platform.
Download (HTTP): http://www.cmake.org/files/v2.8/cmake-2.8.12.2.tar.gz
Download MD5 sum: 17c6513483d23590cbce6957ec6d1e66
Download size: 5.8 MB
Estimated disk space required: 222 MB (additional 175 MB for tests)
Estimated build time: 1.5 SBU (additional 3.5 SBU for tests)
cURL-7.35.0, libarchive-3.1.2 and expat-2.1.0
Subversion-1.8.5 (for testing) and Qt-4.8.5 or Qt-5.2.1 (for the Qt-based GUI)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/cmake
Install CMake by running the following commands:
patch -Np1 -i ../cmake-2.8.12.2-freetype-1.patch && ./bootstrap --prefix=/usr \ --system-libs \ --mandir=/share/man \ --docdir=/share/doc/cmake-2.8.12.2 && make
To test the results, issue: make -k test. Some tests may fail for unknown reasons. Other tests depend on the availability of remote sites, and may fail if those sites are not available.
Now, as the root
user:
make install
--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.
Last updated on 2014-03-02 03:28:39 -0800