News for hackers. Stuff that matters.
Re:Show HN: Xmake, a modern C/C++ build utility by IshKebab on Tuesday April 09, 2019 @08:48AM (#19614035)
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...

Re:Show HN: Xmake, a modern C/C++ build utility by HelloNurse on Tuesday April 09, 2019 @04:15PM (#19618509)
This 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.

Re:Show HN: Xmake, a modern C/C++ build utility by phaedrus on Tuesday April 09, 2019 @10:36AM (#19615083)
This is actually a useful comment and points out something I didn't know (about how the CMake if statement resolves variables).