Last year I was in need for a yocto compatible build system. I ended up reading several of the linked resources and the official documentation and found it thoroughly impenetrable. And at times depressing, like reading about the package registry, something I really didn’t want and it also doesn’t work cross platform: https://cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#package-registry
On the plus side, after I decided to ignore best practices and just cobbled something together it worked sufficiently well and quickly.
The modern CMake approach of thinking about targets and properties on them rather than modifying global state and hoping for the best improved my CMake experience a lot, that being said I usually choose Meson for my own small projects.
Last year I was in need for a yocto compatible build system. I ended up reading several of the linked resources and the official documentation and found it thoroughly impenetrable. And at times depressing, like reading about the package registry, something I really didn’t want and it also doesn’t work cross platform: https://cmake.org/cmake/help/v3.0/manual/cmake-packages.7.html#package-registry
On the plus side, after I decided to ignore best practices and just cobbled something together it worked sufficiently well and quickly.
Here are a few links to talks and other stuff on modern CMake I’ve enjoyed:
The modern CMake approach of thinking about targets and properties on them rather than modifying global state and hoping for the best improved my CMake experience a lot, that being said I usually choose Meson for my own small projects.