On 22 June 2017 at 01:02, Niall Douglas via Boost
You can do truly horrible monkey patching in cmake. So, iterating all targets and doing regex string match and replace on the internal strings which are built for you by the cmake commands, all of which are just convenient syntax sugar over the underlying string properties on targets.
If you've seen any real world cmake in use in real world corporations, you'll likely have seen extended monkey patching logic before. It's fairly common. That's what the 2% would end up doing I would think. At least like most advanced cmake, how to do it is well documented on stackoverflow.
Thanks for the explanation. I think I'd be tempted to write my own build logic. It looks like some of the necessary data can be imported from your cmake files, and most boost libraries aren't that hard to build.