Boost logo

Boost-Build :

From: Eric Woodruff (eric.woodruff_at_[hidden])
Date: 2008-07-09 21:28:02


Hello,

Sorry to reply to such an old message, but the one below has some useful
context.

Is there a way to remove all properties with a wildcard? I have a target
that creates a file in a shared location that is common to all variants.
The problem is that this target's action is getting executed for each
variant that depends on it, presumably because the set of build
requirements is different for each dependent. How can I create a target
that doesn't inherit any build properties? I can't possibly predict
every possible build property and subtract them out or override them...

Thanks,

Eric Woodruff

Vladimir Prus wrote:
> Hi,
> I've just committed the attached, that allows a project or a target to remove
> an inherited requirement. The syntax is:
>
> project : requirements -<threading>multi ;
>
> or
>
> exe hello : hello.cpp : -<threading>multi ;
>
> This is something that 'completes' our requirements inheritance mechanism,
> giving you a way out if you don't need it for some targets.
>
> This is just code change, docs and tests will follow later. It's both on trunk
> and branch.
>
> John,
> it means that you can put
>
> project : requirements -<threading>multi ;
>
> in your Jamfile.v2 and you'll no longer get unexpected multithreading. If
> there are further issues, please ask.
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk