by klodolph · 3y ago · 0 comments
I recognize that CMake has done a lot to make people’s lives easier, but it has so many design flaws that the entire design seems almost purposefully user-hostile. I know it’s not hostile on purpose, but it sometimes feels that way.
It was originally part of Bazel but it is used in other tools, and there are multiple implementations.
But CMake probably will get you a program that compiles cross-platform within an hour or two, even for a novice. Autotools probably won't do that for you.
The way the cmake_policy system works isn't bad, but those unfortunately have only limited impact on the language itself.