Boost logo

Boost :

Subject: Re: [boost] [cmake] Minimum viable cmakeification for Boost
From: Daniel James (dnljms_at_[hidden])
Date: 2017-06-22 16:38:51


On 22 June 2017 at 01:02, Niall Douglas via Boost <boost_at_[hidden]> wrote:
>
> 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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk