Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-11-14 11:25:45


David Abrahams wrote:

>>they should have the same basename. For example, a generator
>>comines target types X1 and X2 into Y. It's called with two targets.
>>
>>1 (base)name : foo type : X1 properties : <foo>bar
>>2 (base)name : foo type : X2 properties :
>
>
> I assume you mean
> 1 basename: foo, type: X1, properties: <foo>bar
> 2 basename: foo, type: X2, properties:
>
> Maybe you should avoid putting spaces before colons. In the context of
> Jam it can be a little bit confusing (like 10 minutes' worth!)

Oh, sorry!

>>Here, properties and, therefore, paths are different.
>
>
> Do you mean that _subvariant_ paths are different? Since the target
> type gets into the properties, I assume that's enough to cause
> different subvariant paths...
>
>
>>But basename is the same, so we're able to decuce the name for the
>>generated target.
>>
>>Some confusion arise because 'name' attribute of virtual-target actually
>>specified basename: withouth directory or suffix.
>
>
> So why not call it basename?

Because I'm accostomed to think that there's 'name', 'path' and 'suffix'.
If you find 'basename' less confusing, feel free to change.

>>No need to make a decision right now. I'll note this point.
>>I'll also try to comment all this stuff today.
>
>
> Thanks.
>

Starting...

- Volodya

 


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