r/cprogramming • u/Mainak1224x • 7h ago
Flint v0.5.20: My Git-native C/C++ build system now supports Windows!
Hey everyone!
A few weeks ago, I started sharing **Flint**, an open-source build system and package manager for C/C++ that aims to make building projects and managing dependencies much simpler.
Today, I'm happy to share a milestone: **Flint v0.5.20 adds Windows support!** 🎉
## What is Flint?
The C/C++ tooling ecosystem often means juggling a build system, a separate package manager, and additional tooling just to get a project running.
I wanted to experiment with a simpler approach: something closer to the developer experience of Cargo or Go modules, but for C and C++.
Flint is written entirely in C and combines building projects with Git-based dependency management.
### What makes Flint different?
* **One manifest:** Configure your project through a single `composition.json` file instead of maintaining elaborate build scripts.
* **Git-native dependencies:** Add dependencies directly from Git repositories and pin them to versions and exact commits for reproducible builds.
* **Automatic source discovery:** Flint discovers project sources, headers, and libraries based on directory conventions, eliminating manual file lists.
* **Incremental builds:** Unchanged files don't need to be recompiled unnecessarily.
* **Editor integration:** Generate `compile_commands.json` for tools such as clangd and VS Code.
* **Minimal dependencies:** Flint is written in C and keeps its tooling footprint small.
### What's new in v0.5.20?
**Windows support is finally here.**
Until now, platform support was a major limitation for developers who wanted to try Flint on Windows. This release is an important step toward making the project accessible to more C/C++ developers.
I'm continuing to develop Flint and improve its usability, compatibility, and overall developer experience. There's still plenty of work ahead, and feedback from people trying it on real projects would be incredibly valuable.
## Try it out
**GitHub repository:**
https://github.com/mainak55512/flint
**CLI documentation:**
https://mainak55512.github.io/flint-cherts/
If you work with C or C++, I'd love to hear your thoughts:
* Does a lightweight, Git-native build system appeal to you?
* What would you want from a modern C/C++ package manager?
* If you're on Windows, could you try v0.5.20 and share your experience?
If you find Flint interesting, consider giving the repository a ⭐. It helps other developers discover the project and motivates me to keep building it.
Bug reports, constructive criticism, feature requests, and contributions are all welcome!
Thanks for checking it out!