includebuild/examples/config
2026-08-09 20:04:37 -07:00
..
build.c Simplify planning and fix library linking 2026-08-09 18:45:50 -07:00
main.c Simplify IncludeBuild API, repository, and site 2026-08-09 11:22:33 -07:00
README.md Cut promotional copy 2026-08-09 20:04:37 -07:00

Configuration

./build uses config.debug_flags. ./build release uses config.release_flags. Debug and release objects are stored separately.

Use config.release for mode-specific settings:

if (config.release) {
    compile_flags(app, "-DGREETING=...");
}
cc -o build build.c
./build run             # Careful hello (debug build)
./build release run     # Fast hello (release build)