[CMake] CMake 2.8.4 RPMs available (finally)

Eric Noulard eric.noulard at gmail.com
Wed Apr 6 02:41:13 EDT 2011


2011/4/5 Andrea Galeazzi <Galeazzi at korg.it>:
> Fedora isn't listed there but is it possible to have it?

For what is worth,
you can build a CMake RPM using
a previously installed CMake on almost any Linux distro
if rpmbuild is installed (and compiler etc...).

Run the attach script on your Fedora box using:

$ mkdir tmp
$ cd tmp
$ cmake -P CMake-autobuild.cmake

and you should get a cmake-2.8.4 RPM.

the script has 2 possible parameter:

$ cmake -DCMAKESRC_VERSION="2.8.2" -DWITH_QT_DIALOG=1 -P CMake-autobuild.cmake

will build cmake 2.8.2 (and not the default 2.8.4) with QT dialog.
QT dialog is not activated by default because you need to have
qt-devel installed.

The currently built RPM is monolithic but this may be improved if needed.

This is an example for RPM but it may be done for DEB as well.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CMake-autobuild.cmake
Type: application/octet-stream
Size: 3911 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110406/1a5260f1/attachment.obj>


More information about the CMake mailing list