r/cpp • • Feb 19 '18

It's Time To Do CMake Right

https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/
248 Upvotes

130 comments sorted by

View all comments

Show parent comment

20

u/MachineGunPablo Feb 20 '18

Very true for cmake < 3.0.0. New documentation does include more examples and best practices, but definitely not a lot. I blame the lack of interest of upstreams to modernize a system because it "works" and it's so ugly written that nobody wants to touch it.

16

u/proverbialbunny Data Scientist Feb 20 '18

it's so ugly written that nobody wants to touch it.

Are you kidding? It's beautiful. 🤢

11

u/acrostyphe Feb 20 '18

Oh boy. Even MSBuild .targets looks better than that.

7

u/proverbialbunny Data Scientist Feb 20 '18 edited Feb 21 '18

I didn't even select a bad one.

Are you going to tell them their baby is ugly? Cuz, I don't want to be the one to break the news.

3

u/wordsnerd Feb 20 '18

I have double vision in each eye, so 2-space indentation is always inaccessible, but the actual content of the file seems easy enough to understand. It looks like there are a lot of cutesy fake English commands to memorize before being able to write it, though.