Description
Bake is a build system for C and C++ projects that aims to make building, testing and running them less of a chore. A project is described by a very short JSON file, and you can create a new project with one command. Bake calls the gcc, clang and MSVC compilers directly, along with emscripten for WebAssembly, and it has no dependencies of its own. Projects refer to each other by logical names instead of operating-system paths, and headers from dependencies are included automatically. Bake can find and order projects in folders without extra configuration, build a project together with its dependencies for the right configuration in one command, and generate single source and header files from a project. It also includes a test framework, can clone, build and run a project with its dependencies, supports address sanitizers, and manages groups of git repositories as bundles. The README lists Linux, macOS and Windows as verified platforms, and says that the Flecs project uses Bake as its primary build system. The source is public on GitHub.…
Highlights
- Short JSON project configuration
- Builds with gcc, clang, MSVC and emscripten
- Projects refer to dependencies by logical names
- Built-in test framework and address sanitizer support
- Bundles to manage groups of git repositories
Ratings & Reviews
No ratings yet
Be the first to rate Bake.
People also visit

cpp-testing
Use only when writing/updating/fixing C++ tests, configuring GoogleTest/CTest
Bake FAQ
What is Bake?
It is a build system for C and C++ projects. It builds, tests and runs projects from a minimal configuration file.
Which compilers does it support?
The README says Bake calls gcc, clang, MSVC and emscripten directly. It is verified with gcc 7 to 10, clang 8 to 10 and MSVC.
Which platforms are verified?
The README lists Linux, macOS and Windows.
How do I start a project?
The getting started section explains how to install Bake and upgrade it, then how to create and run a new project with a single command.
Does it need other tools?
The README says Bake has zero dependencies, since it invokes the compilers itself.
What are the best Bake alternatives?
Popular alternatives to Bake include build2, CMake and Documentation. See all Bake alternatives





