cmake: A cross-platform build system generator - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# 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

- https://cmake.org/

- cmake-developers@cmake.org

## Type

standard

## Dependencies

- curl: Multiprotocol data transfer library and utility

- liblzma: General-purpose data compression software

## Version Information

package-version.txt:

    3.31.9

## Equivalent System Packages

Alpine

    $ apk add cmake

Arch Linux

    $ sudo pacman -S cmake

conda-forge

    $ conda install cmake\<4

Debian/Ubuntu

    $ sudo apt-get install cmake

Fedora/Redhat/CentOS

    $ sudo dnf install cmake

FreeBSD

    $ sudo pkg install devel/cmake

Gentoo Linux

    $ sudo emerge dev-build/cmake

Homebrew

    $ brew install cmake

MacPorts

No package needed.

Nixpkgs

    $ nix-env --install cmake

openSUSE

    $ sudo zypper install cmake

Slackware

    $ sudo slackpkg install cmake

Void Linux

    $ sudo xbps-install cmake

See https://repology.org/project/cmake/versions

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