CMake Notes I: Different Scopes in Cmake

I Hate CMake CMake is the most popular tool for managing C++ projects of any scale—and for good reason. It’s powerful, flexible, and capable of handling almost any build requirement. If you think it’s missing a feature, you best guess is it already exists—you just haven’t found it yet. But to be honest, I’ve never liked CMake. Writing CMakeLists feels like mental torture, thanks to its many quirks and weird behaviors. ...

March 1, 2025 · 4 min · Yifei Wang