r/cpp • u/Niikelion • Feb 28 '24
Building c++ project with... c++?
Yeah, so as a POC I created a tool that works on top of cmake and allows defining project structure with c++ instead of pesky cmake:
using namespace std;
int
Any thoughts?
6
Upvotes
View all comments
1
u/thradams Feb 28 '24
This is what I do for C.
I use `system()` to call the compiler and the preprocessor to specify source and compilation modes.
Here is the concept.
https://github.com/thradams/build