|
Boost-Build : |
From: Bojan Resnik (resnikb_at_[hidden])
Date: 2006-09-18 05:35:34
> 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.
Would it be useful to also support wildcard syntax, like -<define>*,
to enable removing free features as well?
-- Bojan Resnik
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