A simple, cross-platform Python build tool for using CMake.
Automates configuration, compilation, and optional execution of the executable.
- Build Debug or Release configurations
- Compile a single target or all targets
- Run the executable after building
- Works on Windows, macOS, and Linux
- Minimal dependencies: Python 3 and CMake
- Python 3.x
- CMake 3.15+
- C or C++ compiler (GCC, Clang, MSVC, etc.)
python3 build.py [-h] [--all] [--run] [--release]
Build CMake Projects
Optional arguments:
-h, --help Show this help message and exit
--all Compile all targets
--run Run after build
--release Build in Release mode (default is Debug)