I used to think autoconf and automake were bad. I have seen the light. Forgive me, Gnu, for I have cmaked :(
Ok – so – it’s possible that CMake is actually quite dandy. But their documentation pretty much consists of “Buy our book, Mastering CMake”. Sadly, I have not yet earned the status of Padawan – I’m not ready to spend $$$ on mastering.
There’s the minor matter that CMake doesn’t provide support for pre-compiled headers or forced includes. The official line being “not every platform supports it” and “we’re not making much money from this”.
Right now I’m arm-wrestling with how to add specific compiler flags to specific executables and libraries only. set_target_properties(target PROPERTIES DEFINE_SYMBOL symbol) does not work.