CMake: Difference between revisions

From CBLFS
Jump to navigationJump to search
Kalessin (talk | contribs)
I added the templates for the package description and "Contents" sections.
No edit summary
 
(12 intermediate revisions by 7 users not shown)
Line 7: Line 7:
----
----


== Introduction to CMake ==
{{Package-Introduction||http://www.cmake.org/}}
 
<Package Description Needed>


== 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 43: 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.'''''
Compile the package:
 
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
./bootstrap --prefix=/usr \
    --docdir=/share/doc/cmake-{{CMake-Version}}--datadir=/share/cmake-{{CMake-Version}} \
    --mandir=/share/man &&
make
 
Install the package
 
make install


=== 64Bit ===
=== 64Bit ===
Line 61: Line 50:
Compile the package:
Compile the package:


  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
  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 76: Line 65:
|-valign="top"
|-valign="top"
! Installed Programs:
! Installed Programs:
| ???
| ccmake, cmake, cpack, ctest
|-valign="top"
|-valign="top"
! Installed Libraries:
! Installed Libraries:
| ???
| None
|-valign="top"
|-valign="top"
! Installed Directories:
! Installed Directories:
| ???
| /usr/share/cmake-{{CMake-Version}}, /usr/share/doc/cmake-{{CMake-Version}}
|}
|}


=== Short Descriptions ===
[[Category:Programming]]
 
{| style="text-align: left;"
|-valign="top"
! program1
| ???
|-valign="top"
! program2
| ???
|-valign="top"
! library1.{so,a}
| ???
|}

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

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"