Boost logo

Boost-Build :

Subject: Re: [Boost-build] prototyping alternative Boost.Build syntax
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-11-07 12:02:15


AMDG

On 11/07/2016 09:45 AM, Stefan Seefeld wrote:
>
>> - Most variables shouldn't be accessed from
>> other modules anyway.
>
> Here I'm not sure. I was wondering about large projects with multiple
> Jamfiles, where sub-project Jamfiles would inherit variables from
> 'outer' scopes (but could modify them locally). How does Boost.Build now
> handle this ? Is it using target-specific variables in most cases ?
>

  Only variables defined by 'constant' and 'path-constant'
are inherited. This is implemented by giving child
projects a copy of all inherited constants before
loading the Jamfile.

In Christ,
Steven Watanabe


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