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.
Equivalent System Packages¶
alpine: install the following packages: 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-util/cmake
$ brew install cmake
macports: install the following packages: cmake
$ 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 whether it can be used.