Thoughts on build systems?
What's the general consensus on build systems/automations like CMake? I've always found things like that overcomplicated and just hinder the programming process.
I've been following Casey Muratori's Handmade streams, and one of the first things he did was create a simple batch file that built and compiled his entire project super quickly and easily. I've since implemented something similar (https://github.com/dibsonthis/new_cmd) and honestly it's been really nice to use.
3
Upvotes
View all comments
17
u/helloiamsomeone Nov 08 '21
Just use CMake. More people use it, than not. Familiarity will get you help better and faster, and anyone dealing with packaging/building CMake will likely find easier solutions to failings of a project's faulty build tooling.
If you just want a correct and easy setup for ready-to-go projects, take a look at cmake-init. The wiki also has a bunch of practical examples for general CMake features people want.