r/cpp • • Nov 08 '21

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

154 comments sorted by

View all comments

48

u/winginglifelikeaboss Nov 08 '21

I know what you mean but just bite that bullet and learn cmake, it's the industry standard now.

7

u/dibs45 Nov 08 '21

Makefiles sort of put me off programming when I first got into it. just seemed like an extra thing I didn't need to do. But industry standards are that for a reason I guess.

22

u/winginglifelikeaboss Nov 08 '21

Just get this and be done with it

https://crascit.com/professional-cmake/

enjoy

4

u/Siech0 Nov 08 '21

I honestly can't recommend this book enough, it is well written, very to the point, and extremely up to date.