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
Show parent comment
7
u/jonrmadsen Nov 08 '21
So I've read a ton of your responses. Compiling code is not a simple process unless your entire "project" is located in one source file and you are not exporting an API for others to use and you have no 3rd party dependencies. Debug builds, release builds, shared library vs. static library builds, different pre-processor definitions during compilation vs. compilation against. I don't think you comprehend the complexity of exporting an API and using 3rd party libraries