Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-08-09 09:35:21


Rene Rivera wrote:

> >I could not understand this sentence. What is "It" and why replace the
>
> above?
>
> Sorry I was refering to the top of the original message. The syntax would
> go from the current:
>
> local attributes = [ project.attributes $(__name__) ] ;
> local project-root-module = [ $(attributes).get project-root-module ] ;
>
> To (this is from code I have in project-root.jam):
>
> local project-root-module = [ $(__name__).project-attributes get
> project-root-module ] ;

Well... there's already "project.attribute" rule which would allow to say

local project-root-module = [ project.attribute $(__name__)
project-root-module ]

Seems like this is almost equvivalent in verbosity -- only your approach
requires to keep some objects in Jamfile modules, while my does not.

- 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