Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-11-18 10:37:36


Rene Rivera <grafik666_at_[hidden]> writes:

> [2002-11-15] David Abrahams wrote:
>
>>When Perforce introduced rule indirection, they did it a bit
>>differently than we did:
>>
>> x = a b ;
>> y = [ $(x) c d ] ;
>>
>>In Boost.Jam, this is equivalent to:
>>
>> y = [ a b c d ] ;
>
> Logical.
>
>>In Perforce Jam, this is equivalent to:
>>
>> a c d ;
>> y = [ b c d ] ;
>
> Yikes, how unintuitive.

One more note about this: in all the times I've used rule indirection,
there was one instance where I really wanted the Perforce
behavior. Just one, out of countless cases. Oh, well.

-Dave

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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