-
Notifications
You must be signed in to change notification settings - Fork 0
Home
El Dockerr edited this page Oct 17, 2025
·
2 revisions
View on GitHub
A minimalistic but powerful C++ build system that reads from a simple configuration file. It aims to be a replacement for CMAKE one day and make it more easy and reliable to build C++ and C projects.
bodge [/bɒdʒ/ verb: make or repair (something) badly or clumsily.]
Getting started with Bodge is incredibly simple:
- Install Bodge (download from releases)
-
Create a
.bodgefile in your project root -
Run
bodge- that’s it!
bodge # Build all targets
bodge help # Show help
bodge list # List available targets and sequences
bodge version # Version
- Bodge fetch from predefined repositories and can build directly
- It keeps sources up to date
- Build executables, shared libraries (DLLs/SOs), and static libraries
- Per-target configuration with global defaults
- Automatic file extension handling for different platforms
- Chain multiple build and file operations
- Copy, remove, and create directory operations
- Perfect for deployment workflows
- Use
src/**to automatically collect all C++ files from directories - Recursive pattern matching with dependency analysis
- No need to manually list every source file
- Cross-platform compatibility (Windows/Linux)
- Static linking support to eliminate DLL dependencies
- Comprehensive error handling and logging
- Built-in file and directory copying
- Safe file/directory removal
- Directory creation with parent path handling
bodge
Yes, it is that easy! Bodge can already be built by bodge itself.
make all # Build the project
make clean # Clean build artifacts
make debug # Build with debug symbols
.\make.bat
mkdir build && cd build
cmake ..
make
We welcome contributions! Please see our Contributing Guide for details.
Bodge is licensed under the GNU General Public License v3.0.