r/coolgithubprojects • • 4h ago

CLAP: zero-setup C/C++ builds on Windows

https://github.com/BRATAN-CORP/clap

CLAP is an open-source command-line frontend for C and C++. Install it from PyPI, Scoop, or WinGet, then build and run a source file without manually installing Visual Studio, MinGW, or a separate toolchain. It can also configure existing CMake projects.

python -m pip install clap-compiler
clap run main.c

On the first build it can provision a pinned Zig/Clang toolchain. The project includes examples, tests, and a portable Windows build. I’d appreciate feedback from people who build small C/C++ tools on Windows.

https://github.com/BRATAN-CORP/clap

1 Upvotes

0 comments sorted by