3 ms·
Nobody who has used CMake would ask that so I assume you haven't! The answer is that CMake is mad and full of gotchas. Think of it like the PHP of build system
by IshKebab 8y ago
Nobody who has used CMake would ask that so I assume you haven't!
The answer is that CMake is mad and full of gotchas. Think of it like the PHP of build systems. Here is a classic example:
https://cmake.org/cmake/help/latest/command/if.html#variable-expansion https://cmake.org/cmake/help/latest/command/if.html#variable...
- phaedrus 8y agoThis is actually a useful comment and points out something I didn't know (about how the CMake if statement resolves variables).
- HelloNurse 8y agoThis is a reasonable programming language design choice. CMake actual gotchas I dislike enough to avoid it as much as possible include defaulting to cached information, even after I make changes, and preferring "smart", opaque and even hard to track down scripts to explicit user input. It seems optimized for cleverness and conciseness, at the expense of reliability and required user effort.