|
Boost-Build : |
From: David Abrahams (dave_at_[hidden])
Date: 2007-04-17 21:35:16
on Tue Apr 17 2007, Vladimir Prus <ghost-AT-cs.msu.su> wrote:
>> I have two prebuilt libraries, one of which I need to be selected if
>> *any* of three properties is present in the explicit build request.
>> In my proposal, that is represented as:
>>
>> lib foo : : <name>foo_generic ;
>> lib foo : : <name>foo_dbg <feature1>value1 <feature2>value2 <feature3>value3 ;
>>
>> Can you please demonstrate the alternative declarations that would be
>> required to achieve the same result using your proposal?
>
> Can you recast this example to use real feature names, and explain why you'd want
> this "select if any of those properties are present" behaviour. Although I have
> some ideas how to handle this case (independently of my 'when' proposal), I'd like
> to first see the real need.
I'll try to respond to the rest later, but for this part, just look at
any of my python examples. Each alternative corresponds to a prebuilt
python library. Of course, if you insist that it's reasonable that
the user be forced to write complicated build requests in order to get
sensible results for simple cases, we won't get anywhere.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com Don't Miss BoostCon 2007! ==> http://www.boostcon.com
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