|
|
|
|
|
by zeotroph
2851 days ago
|
|
The syntax... `list(GET mylist 4 val)` - oh, you mean `val = mylist[4]`. And the strange `function(ARGUMENTNAME argument1 OTHERARG arg2)` function syntax, and that out value names are always passed into a function as this language does not know `=` assignment, and the semicolon separated lists. And worst of all, the weak to absent typing, reading from a nonsense variable never fails. I hope this is all abstracted enough so one day cmake can become saner to read and write. For now you just have to carry this otherwise useless syntax knowledge with you, or switch to meson or waf. Most IDEs seem to prefer cmake though, especially with the new cmake server mode it might be here to stay. And a big thanks to all the saints who want to make cmake understandable for the rest of us. |
|
And of course the wizened software engineer in me has to be restrained: "Oh hey, I can make a better build system than that..."