# CMake

> A powerful software build system

Source: https://talira.ai/catalog/cmake-k3qq1fry
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / build systems](https://talira.ai/categories/developer-tools/build/build-systems), [languages / c cpp](https://talira.ai/categories/languages/c-cpp)
- Platforms: windows, macos, linux, cli[^6]
- Licence: BSD-3-Clause[^4]
- Pricing: Free and open source[^4][^5]
- Pricing notes: Free and open source (BSD 3-clause). Kitware sells CMake training, support and consulting.
- Free tier: yes[^4][^5]
- Self-hostable: yes[^6]
- Backed by: [Kitware](https://talira.ai/orgs/kitware.md)
- Creator: Bill Hoffman, co-founder and CTO of Kitware

CMake is an open source, cross-platform family of tools designed to build, test and package software. You describe the build once in simple configuration files and CMake generates a native build for Visual Studio, [Xcode](https://talira.ai/catalog/xcode-yrayr0fd.md), Ninja, Make or VS Code, with CTest for running tests and CPack for making installers. Kitware calls it the de-facto standard for building C++ code. Bill Hoffman, co-founder and CTO of Kitware, created it for the ITK and VTK toolkits; Kitware also sells training and support.

## Links

- Website: https://cmake.org/
- GitHub: https://github.com/Kitware/CMake
- Docs: https://cmake.org/documentation/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/cmake>[^1]
- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/cmake>[^2]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/cmake>[^3]

## Problems it solves

- build my C++ project on Windows, macOS and Linux from one set of build files
- generate Visual Studio and Xcode projects for my C++ code instead of maintaining each by hand
- my hand-written Makefiles rebuild everything when I change one file
- keep build output out of my source tree and have several build configurations side by side
- detect installed libraries and compiler features on each machine before compiling C or C++
- make installers for Windows, macOS and Linux from my C++ project's build
- run my C++ project's tests after every build and send the results to a dashboard
- link a C++ library's dependencies transitively without listing every flag by hand
- move a large C++ codebase off bjam or autotools to a cross-platform build system
- use Ninja for faster C++ builds without writing Ninja files myself

## Features

- single source builds on multiple platforms, from Android and iOS to HPC systems
- generates builds for Visual Studio, Xcode, Ninja, Make and VS Code
- accurate dependencies and minimal rebuilds, including Fortran and C++ modules
- out-of-source builds with multiple build trees per source tree
- target-centric builds with transitive link dependencies
- system introspection cache, editable in CMake's GUIs
- CTest cross-platform testing, with results sent to CDash and run in parallel
- CPack cross-platform installers for Linux, Windows and Mac
- cross-platform install system
- custom commands at build time for code generators

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.75 out of 1.
Signals: maintenance 1.00, adoption 0.78, momentum 0.49, community 1.00, backing 0.50, extensibility 0.20.

- last commit 5 days ago
- 1547 commits in the last 90 days
- latest release v4.5.0 11 days ago
- 8.2k GitHub stars
- 2100 contributors
- backed by Kitware
- created by Bill Hoffman, co-founder and CTO of Kitware

## Alternatives

- [Bazel](https://talira.ai/catalog/bazel-5qvenp12.md): a fast, scalable, multi-language and extensible build system

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 21 Nov 2026)
[^2]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 21 Nov 2026)
[^3]: https://mise-versions.jdx.dev/tools.json (checked 21 Nov 2026)
[^4]: https://cmake.org/licensing/ (checked 19 Nov 2026)
[^5]: https://cmake.org/ (checked 19 Nov 2026)
[^6]: https://cmake.org/download/ (checked 19 Nov 2026)
