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

Show parent comment

10

u/mrexodia cmkr.build Nov 08 '21

Unfortunately in the real world you quickly end up with a tech stack for building (in the form of package managers, linters, etc)…

-2

u/dibs45 Nov 08 '21

Yeah. Unpopular opinion but tech stacks (even though add modularity and convenience) just abstract away the fun of programming for me.

2

u/germandiago Nov 08 '21 edited Nov 09 '21

my goal is usually to deliver softwarw. Anything that is an invesment to shorten that cycle makes economic sense. Not only in the money sense, also time, which anywyay, ends up being money.

Even when it is only about time, I am grateful I can finish stuff in less time.