4 ms·
The reason you need functions anywhere else. Encapsulate complicated build logic and reuse it.
by oldgradstudent 4y ago
The reason you need functions anywhere else. Encapsulate complicated build logic and reuse it.
- palata 4y agoSure, I just question what kind of complicated logic you want to put in there.
- oldgradstudent 4y agoSee my other response: https://news.ycombinator.com/item?id=34111709 https://news.ycombinator.com/item?id=34111709
- frankzinger 4y agoBig projects have complicated builds. Here is just one file out of dozens (or hundreds?) that make up Qt's build: https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/QtModuleHelpers.cmake https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/QtModuleHel....
- palata 4y agoSure. My point is that most projects are not big projects. And most people complaining about CMake are probably not working on big project either. Just look around in this thread: people don't say "I use Meson because I work in a GAFAM-sized project", but rather "Meson is soooo infinitely better because the syntax feels more natural to me".