Alternatives to CMake

The de facto standard build system generator for C and C++, producing native build files for whatever toolchain is on the machine. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as CMake.

  • Meson

    An open-source build system for C, C++, Rust and other languages focused on speed and readability.

    Meson uses a readable, deliberately limited build language with fast builds and cross compilation, but has a smaller ecosystem than CMake.

  • Bazel

    An open-source build and test system for multi-language projects, with incremental builds and caching.

    Bazel handles large multi-language monorepos with incremental builds and distributed caching, though its build files and rules take time to learn and add overhead for small projects.

Similar software

Related functionality, not a direct replacement.