Show HN: [ccbuild] A C++ build system where your build scripts are C++ An author going by ccbuild released ccbuild, a C++ build system in which build scripts are written in C++ rather than CMake's DSL or separate Python/Starlark scripts, and posted it to Hacker News as a Show HN. ccbuild uses ninja under the hood to create in-memory graph nodes directly without a parsing phase and then starts the build, giving developers the same compiler errors, type safety and IDE autocompletion as their application code. The author acknowledged using "my fair share of AI in building this" and said the project has compiled a few well-known popular C++ projects, framing the goal as needing nothing but a C++ compiler to build a C++ project. Hi HN, I'm the author of ccbuild. I built this because I got tired of switching context between C++ and CMake's DSL or maintaining separate Python/Starlark scripts just to configure a project. Most C/C++ engineers at some point myself included have spent way too much time grabbing CMake snippets we only partly understand and doing trial-and-error until the build turns green. Instead of debugging a separate DSL specially text files for CMake/Make , you get the same compiler errors, type safety, and IDE autocompletion you already rely on for your application code. ccbuild uses ninja purely under the hood to create the in-memory graph nodes directly without going through the parsing phase and starts the build. I will agree upfront that I have used my fair share of AI in building this and have compiled a few well-known popular C++ projects. If C++ devs like the idea, please hit that star button on github - it will give me enough motivation to take it to the next level. TL;DR: You should not need anything but a C++ compiler to build a C++ project. Comments URL: https://news.ycombinator.com/item?id=50752628 https://news.ycombinator.com/item?id=50752628 Points: 1 Comments: 0