DEV Community

Cover image for New Build Tool for C/C++
Ryan Anderson
Ryan Anderson

Posted on

New Build Tool for C/C++

I've been frustrated by the same problem every C/C++ developer knows too well: you have a great idea, you sit down to code, but end up wrestling with CMake. 😤

So I built something to solve it. 🔧

🚀 Craft - a lightweight build tool for C and C++. Think Cargo, but for C/C++. You describe your project in a simple craft.toml file and Craft handles the rest.

No more manual CMakeLists.txt.
No more struggling to link dependencies.

Below I have put together a short demo where I show how to go from zero to a running a project in seconds. ⚡ But that's just the beginning, Craft also handles:

📦 Dependency management (craft add, craft remove, craft update)
🧩 Custom project templates
🌐 A package registry for popular C/C++ libraries
⚒️ Adopting existing projects with craft init
💻 Cross-platform support for macOS, Linux, and Windows

This started as a personal tool to speed up my own workflow. It's now at v1.0 and I'm opening it up to the community. 🎉

If you write C or C++ and have ever wanted a smoother developer experience, give Craft a try.

💬 Feedback is encouraged, and if you want to help boost development, feel free to make pull requests!

GitHub Repo:
🔗 https://github.com/randerson112/craft

Top comments (0)