Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-01-05 12:49:51


David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
>
>
>>>>> will be used to denote generator, to which flags apply.
>
>
> OK, I am thinking of adding the generator-id as an optional final
> argument to flags, such that if specified, the flags will only apply
> to the actions of that generator. Is that what you had in mind?

I should clarify. There's code in toolset.jam which handles per-rule flags.
Moreover, it's only possible to specify flags that apply to a specific rule.
Take a look at toolset.set-target-variable. It takes the name of rule and
looks for the flags specified for it.

To summarize, BB4 is not closed because:
- set-target-variables is kind of copy-paste from V1. I did not think much
about it.
- it does not allow to specify flags that apply to all rules in a module
- we'd need some flags inheritance as we've discussed

- 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