Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-14 09:23:52


David Abrahams wrote:
> Why are rules getting localized and re-exported in clone-rules?
>
> It seems to me that all we really want is
>
> IMPORT $(source-module) : $(rules) : $(target-module) : $(rules) ;
>
> No?

"cvs annotate" indicates that the body of the rule was written by you ;-)
Well, the log message for that revision says

Implemented --quiet flag for testing

and in fact you only rearranged the rule. Ok, I think the answer is that you
really have to localize the rules. If you import the 'project' rule into
Jamfile module, you don't want that rule operate on the same project
attributes as some other module. OTOH, the clone-rules rule is used in
project-root.jam and project.jam. I don't understand why reexporting is needed
in either context.

- 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