Subject: Re: [boost] [cmake] Pull request announcement
From: Mike Dev (mike.dev_at_[hidden])
Date: 2018-09-18 15:53:12
> -----Original Message-----
> From: Boost <boost-bounces_at_[hidden]> On Behalf Of Zach Laine via Boost
> Sent: Tuesday, September 18, 2018 5:44 PM
> On Tue, Sep 18, 2018 at 10:39 AM Alexander Grund via Boost <
> boost_at_[hidden]> wrote:
> > >> E.g. "yap", "hana" and "callable_traits" each try to create a target
> > >> "check".
> > >>
> > > What's wrong with that (not upset, just curious)?
> > They conflict with each other. Targets need to have unique names.
> Ah, of course, thanks. Do you have a preferred way to address this?
> F.ex., I only care about the "check" target in independent builds of Yap,
> mainly for Yap-only Travis CI. I could always turn it on conditional on a
> CI configuration variable I cold define.
It is very sad that cmake doesn't (AFAIK) support directory scoped target names.
Conditional activation is not ideal either, because at some point someone
probably wants to build all of boost and run all the tests together
(e.g. release / integration tests).
Prefixing everything with boost_<lib>_<target> is probably the cleanest
solution but annoying to type.
Not sure if there is a better solution
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk