Which will probably be never.
I mean, all cmake does is run some commands for you. You not understanding cmake errors (mostly) means you don’t understand the errors given to you by the C/C++ compiler.
Partly, yes. But I also think their documentation is a bit hard do read. Maybe this will get better with time.
I use distcc, and do not have to take vacation for my programs to finish compiling.
Did you know that there is a debugger in Jetbrains CLion (and I think VS as well) that allows you to step through your CMake scripts? As ridiculous as this may seem, actually it is really useful.
Yeah, I wasn’t aware of that until I found this article claiming it to be available.
Life is and will always be better writing your own Makefiles. It’s literally so easy. I do not get the distaste. Cmake is arcane magic. Bazel is practically written in runes. Makefile is a just a glorified build script, but where you don’t have to use a bunch of if statements to avoid building everything each time.
That works until you need to support Visual Studio or Xcode. Then you either maintain their stuff manually too, or you get CMake to generate all three. I don’t love it but it solves the problem it’s meant to solve. The issue is people using it when they don’t need to.
I’m not familiar with either why can’t you use Make with VS or Xcode? Can you not set them up to have whatever build bind call Make ?
Manual makefiles don’t scale though and you end up needing some other bootstrap framework pretty quick.
Grab a brush and put a little cmakeup.
Thanks for the laugh.
That was also my experience, but it ended when I stopped using cmake
.
I’m not mad at anyone for using cmake
, but I consider myself blessed on each day that I don’t have to collaborate with them (on cmake
).
Which is weird, because someone will have to pry a Makefile
from my cold dead hands, someday.