CMake

From CBLFS
Revision as of 13:34, 20 May 2010 by Williami (talk | contribs) (Oops, forgot about the multilib commands.)
Jump to navigationJump to search
Download Source: http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz

Introduction to CMake

Project Homepage: http://www.cmake.org/

Dependencies

Recommended

Caution.png

Note

If you don't have Curl and Expat installed, remove the --system-libs from the bootstrap command below.

Optional

  • Qt4 to enable building of the GUI interface
Caution.png

Note

To enable building of the GUI interface, add --qt-gui to the bootstrap command below.

Non-Multilib

Compile the package:

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

Install the package

make install

Multilib

This package does not provide any libraries so only one installation is needed.

32Bit

Compile the package:

CFLAGS="${BUILD32}" CXXFLAGS="${BUILD32}" \
./bootstrap --prefix=/usr \
    --docdir=/share/doc/cmake-2.8.4 --datadir=/share/cmake-2.8.4 \
    --mandir=/share/man --system-libs &&
make

Install the package

make install

N32

Compile the package:

 CFLAGS="${BUILDN32}" CXXFLAGS="${BUILDN32}" \
./bootstrap --prefix=/usr \
    --docdir=/share/doc/cmake-2.8.4--datadir=/share/cmake-2.8.4 \
    --mandir=/share/man --system-libs &&
make

Install the package

make install

64Bit

Compile the package:

CFLAGS="${BUILD64}" CXXFLAGS="${BUILD64}" \
./bootstrap --prefix=/usr \
    --docdir=/share/doc/cmake-2.8.4 --datadir=/share/cmake-2.8.4 \
    --mandir=/share/man --system-libs &&
make

Install the package

make install

Contents

Installed Programs: ccmake, cmake, cpack, ctest
Installed Libraries: None
Installed Directories: /usr/share/cmake-2.8.4, /usr/share/doc/cmake-2.8.4
Retrieved from "?title=CMake&oldid=20254"