Features at a glance
Key features include support for complex, large build environments, the ability to generate native build files, powerful commands that allow developers to locate include files, executables and libraries, external CMake files that contain standard functionality, interface with testing systems, as well as support for recursive directory traversal with variable inheritance.
Additionally, CMake supports out-of-place and in-place builds, supports conditional builds, supports regular expression expansion and multiple compilation trees from a single source tree. It can be easily extended to add new features, and includes the ability to run external programs.
The program comes with numerous command-line options, organized in two major sections, Options and Generators. Developers will be able to populate the cache by pre-loading scripts, generate cmake cache entries, enable or suppress developer warnings, specify a build system generator and toolset name, as well as to run it in various modes or print various information.
On the other hand, the CMake compiler lets you to generate standard UNIX makefiles, build.ninja files, as well as project files for CodeBlocks, CodeLite, Eclipse, KDevelop, Kate, and Sublime Text 2.
Supported operating systems
Besides GNU/Linux, CMake has been successfully tested under the commercial Microsoft Windows and Mac OS X operating systems. Both 64-bit and 32-bit instruction set architectures are supported at this time.
Under the hood and availability
CMake is written entirely in the C++ programming language, it’s a cross-platform software (see below section for supported operating systems) and it is available for download as a universal sources tarball, as well as pre-built binary packages for the aforementioned OSes.
Reviewed by Marius Nestor on September 12th, 2014
In a hurry? Add it to your Download Basket!
- 0014386: [CMake] Broken build (proposing fix) resolved.
- 0014027: [Modules] CMake fails build on HPUX with standard HP C and make resolved.
- 0014246: [CTest] ctest --help-variable-list fails to display CTEST* variables (Brad King) resolved.
- 0014946: [CMake] Document build v. install values for INTERFACE_INCLUDE_DIRECTORIES (Brad King) resolved.
Application descriptionCMake is an open source command-line software that has been designed to act as a compiler for GNU/Linux programs. It i...