Difference between revisions of "CMake"

From CBLFS
Jump to navigationJump to search
 
(13 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://www.cmake.org/files/v{{CMake-Version2}}/cmake-{{CMake-Version}}.tar.gz
 
| http://www.cmake.org/files/v{{CMake-Version2}}/cmake-{{CMake-Version}}.tar.gz
Line 6: Line 6:
  
 
----
 
----
 +
 +
{{Package-Introduction||http://www.cmake.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
  
== Non-Multilib ==
+
=== Recommended ===
  
Compile the package:
+
* [[Curl]]
 +
* [[Expat]]
  
./bootstrap --prefix=/usr \
+
=== Optional ===
    --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \
 
    --mandir=/share/man &&
 
make
 
  
Install the package
+
* [[Qt4]] to enable building of the GUI interface
  
make install
+
== Configuration Information ==
  
== Multilib ==
+
{|
'''''This package does not provide any libraries so only one installation is needed.'''''
+
|-
 +
|''--system-libs:'' use the system-wide [[Curl]] and [[Expat]] libraries.
 +
|-
 +
|''--qt-gui:'' build the [[Qt4]] GUI interface.
 +
|-
 +
|}
  
=== 32Bit ===
+
== Non-Multilib ==
  
 
Compile the package:
 
Compile the package:
  
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
 
 
  ./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 39: Line 43:
 
  make install
 
  make install
  
=== N32 ===
+
== Multilib ==
 +
'''''This package does not provide any libraries or other ABI-specific files so only one installation is needed.'''''
 +
 
 +
=== 64Bit ===
  
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
+
  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 53: Line 60:
 
  make install
 
  make install
  
=== 64Bit ===
+
= Contents =
  
Compile the package:
+
{| style="text-align: left;"
 
+
|-valign="top"
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
+
! Installed Programs:
./bootstrap --prefix=/usr \
+
| ccmake, cmake, cpack, ctest
    --docdir=/share/doc/cmake-{{CMake-Version}} --datadir=/share/cmake-{{CMake-Version}} \
+
|-valign="top"
    --mandir=/share/man &&
+
! Installed Libraries:
make
+
| None
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/cmake-{{CMake-Version}}, /usr/share/doc/cmake-{{CMake-Version}}
 +
|}
  
Install the package
+
[[Category:Programming]]
 
 
make install
 

Latest revision as of 03:55, 10 November 2010

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

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
Retrieved from "?title=CMake&oldid=20699"