Skip to content
SPECIFICTION
Get listed

Bazel vs CMake

Bazel

bazel.build

CMake

cmake.org

Side by side

FigureBazelCMake
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
iOS—Yes
Self-hosted—Yes
Plans published12
Spec score · Game Build Automation Software8.7 (#7)8.6 (#11)
MakerGoogle identifies Bazel as its own build tool.Kitware says it was founded in 1998 and began with an office in Clifton Park, New York.
PurposeBazel is an open-source tool that automates software builds and tests.CMake is an open source, cross-platform family of tools for building, testing, and packaging software.
SupportThe project directs users to its discussion group, GitHub issue tracker, Slack, and Stack Overflow.Kitware offers access to CMake experts for guidance, technical questions, and help resolving issues, with flexible support options.

Plans

Bazel

  • BazelFree

Bazel pricing →

CMake

  • CMakeFree
  • Pre-Paid CMake Support$2,500, paid once

CMake pricing →

In their own words

Bazel

Bazel is a free, open-source tool for automating software builds and tests across languages and platforms. Projects define targets in BUILD files using Starlark, which can also be used to create custom rules and macros. Bazel caches prior work and rebuilds what needs to change, while running tasks in parallel. It supports languages including C++, Java, Kotlin, Python, Go, and Rust, with outputs for desktop, server, Android, and iOS. Bazel runs on Linux, macOS, and Windows, and the documentation describes builds with 100,000 or more source files across multiple repositories. Sandboxing can make builds and tests more hermetic, and failures return a non-zero exit code for basic CI integration. Teams can share outputs through a remote cache, but must select and maintain its backend and secure access because it can contain binaries. IDE options include plugins for IntelliJ, Android Studio, CLion, and Visual Studio Code, plus Xcode integration. Bazel is not well suited to uncached deployment steps that change cloud configuration.

Visit bazel.build

CMake

CMake has no write-up on Specifiction yet; its figures are above.

Visit cmake.org