cmake: A cross-platform build system generator#


The “cmake” executable is the CMake command-line interface. It may be used to configure projects in scripts. Project configuration settings may be specified on the command line with the -D option. The -i option will cause cmake to interactively prompt for such settings.

CMake is a cross-platform build system generator. Projects specify their build process with platform-independent CMake listfiles included in each directory of a source tree with the name CMakeLists.txt. Users build a project by using CMake to generate a build system for a native tool on their platform.


CMake is distributed under the OSI-approved BSD 3-clause License.

Upstream Contact#




Version Information#



Equivalent System Packages#

$ apk add cmake
$ sudo pacman -S cmake
$ conda install cmake
$ apt-cyg install cmake
$ sudo apt-get install cmake
$ sudo yum install cmake
$ sudo pkg install devel/cmake
$ sudo emerge dev-build/cmake
$ brew install cmake

No package needed.

$ nix-env --install cmake
$ sudo zypper install cmake
$ sudo slackpkg install cmake
$ sudo xbps-install cmake


If the system package is installed, ./configure will check if it can be used.