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.

Dependencies

  • curl

  • zlib

  • bzip2

  • xz

Type

optional

Version Information

package-version.txt:

3.19.3

Equivalent System Packages

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 cmake

homebrew:

$ brew 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.