Difference between revisions of "CMake"
From CBLFS
Jump to navigationJump to searchChipster19 (talk | contribs) |
Weibullguy (talk | contribs) |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 7: | Line 7: | ||
---- | ---- | ||
− | {{ | + | {{Package-Introduction||http://www.cmake.org/}} |
== Dependencies == | == Dependencies == | ||
− | == | + | === Recommended === |
− | + | * [[Curl]] | |
+ | * [[Expat]] | ||
− | + | === Optional === | |
− | |||
− | |||
− | |||
− | + | * [[Qt4]] to enable building of the GUI interface | |
− | + | == Configuration Information == | |
− | + | {| | |
− | '''' | + | |- |
+ | |''--system-libs:'' use the system-wide [[Curl]] and [[Expat]] libraries. | ||
+ | |- | ||
+ | |''--qt-gui:'' build the [[Qt4]] GUI interface. | ||
+ | |- | ||
+ | |} | ||
− | == | + | == Non-Multilib == |
Compile the package: | Compile the package: | ||
− | |||
./bootstrap --prefix=/usr \ | ./bootstrap --prefix=/usr \ | ||
--docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ | --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ | ||
− | --mandir=/share/man && | + | --mandir=/share/man --system-libs && |
make | make | ||
Line 41: | Line 43: | ||
make install | make install | ||
− | == | + | == Multilib == |
− | + | '''''This package does not provide any libraries or other ABI-specific files so only one installation is needed.''''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== 64Bit === | === 64Bit === | ||
Line 59: | Line 50: | ||
Compile the package: | Compile the package: | ||
− | + | CFLAGS="${BUILD64}" CXXFLAGS="${BUILD64}" \ | |
./bootstrap --prefix=/usr \ | ./bootstrap --prefix=/usr \ | ||
--docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ | --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \ | ||
− | --mandir=/share/man && | + | --mandir=/share/man --system-libs && |
make | make | ||
Line 82: | Line 73: | ||
| /usr/share/cmake-{{CMake-Version}}, /usr/share/doc/cmake-{{CMake-Version}} | | /usr/share/cmake-{{CMake-Version}}, /usr/share/doc/cmake-{{CMake-Version}} | ||
|} | |} | ||
+ | |||
+ | [[Category:Programming]] |
Latest revision as of 03:55, 10 November 2010
Download Source: | http://www.cmake.org/files/v2.8/cmake-2.8.4.tar.gz |
---|
Contents
Introduction to CMake
Project Homepage: http://www.cmake.org/
Dependencies
Recommended
Optional
- Qt4 to enable building of the GUI interface
Configuration Information
--system-libs: use the system-wide Curl and Expat libraries. |
--qt-gui: build the Qt4 GUI interface. |
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 or other ABI-specific files so only one installation is needed.
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 |