Subject: Re: [Boost-build] prototyping alternative Boost.Build syntax
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2016-11-04 16:43:02
On 11/04/2016 01:21 PM, Stefan Seefeld wrote:
> On 04.11.2016 11:18, Steven Watanabe wrote:
>> On 11/04/2016 07:29 AM, Stefan Seefeld wrote:
>>> Thus I have a few questions:
>>> * where in the code are target settings activated / deactivated so they
>>> are visible to actions ?
>> Target settings are applied in make1.c
>> around the call to the action.
> It looks like the functions doing this might be
> "function_bind_variables" and "function_unbind_variables" (which for
> python functions don't do anything). Can you confirm that ? Can you
> explain how they work ?
No. Those two functions are purely optimizations
that affect the implementation of name lookup
inside jam rules.
The settings are applied here:
The call to the action is inside cmd_new:
which is defined here:
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