Cmake
From MEPIS Documentation Wiki
Contents |
[edit]
Introduction
Cmake is a new cross-platform system for configuring and generating makefiles. It is much easier to use than the GNUautotools, though is much younger and is still under development. It is useful for building, testing and deploying C/C++ files. If you are a developer, Cmake has the ability to generate Kdevelop project files in addition to the makefiles.
[edit]
Installation and Configuration
As root, install Cmake through the usual methods. Then configure the program,
ccmake .
Look at the instructions at the bottom of the screen for the available commands. Change any values as needed, then press c to configure, check to see if anything else needs to be changed or corrected, and press c again until there are no changes. Finally press g.
Then
make
Finally, as root
checkinstall
[edit]
Tips
- If you download a software package that has a CMakeLists.txt in it, follow these general instructions, though have a look at the README and INSTALL provided too.
[edit]

