cmake: A cross-platform build system generator#
Description#
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.
License#
CMake is distributed under the OSI-approved BSD 3-clause License.
Upstream Contact#
Type#
standard
Dependencies#
Version Information#
package-version.txt:
3.24.3
Equivalent System Packages#
alpine: install the following packages: cmake
arch:
$ sudo pacman -S cmake
conda:
$ conda install cmake
cygwin:
$ apt-cyg install cmake
Debian/Ubuntu:
$ sudo apt-get install cmake
Fedora/Redhat/CentOS:
$ sudo yum install cmake
freebsd:
$ sudo pkg install devel/cmake
gentoo:
$ sudo emerge dev-util/cmake
homebrew:
$ brew install cmake
macports: install the following packages: cmake
nix:
$ nix-env --install cmake
opensuse:
$ sudo zypper install cmake
slackware:
$ sudo slackpkg install cmake
void:
$ sudo xbps-install cmake
See https://repology.org/project/cmake/versions
If the system package is installed, ./configure will check whether it can be used.