|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-12-09 04:53:16
Markus Schöpflin wrote:
>>Probably, something like
>
>
>>1. <link>shared <link-runtime>static in build request
>>
>>2. <link>shared in some requirements, which overrides
>><link-runtime>static ?
>>
>>This could be problem, we'll have to think about it.
>
>
> No, I didn't mean these. But you are right, this looks a little
> problematic. At the very least, it leads to surprising behaviour if
> there is no warning or error message.
OK, I'm making <link> and <link-runtime> unrelated for the time
being.
>>Or is there another issue?
>
>
> I was just thinking about the expansion of the composite feature
> <link> to the two features <link> and <runtime-link>. How will you
> know that you don't have to expand <link> again and again? Or are
> recursive compositions disallowed alltogether?
That's not a problem. Composite properties are expanded only once,
typically near the place they're specified. For example, as soon
as build request is obtained from command line, it's expanded.
So recursive expansion is not a problem.
- 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