Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-07-01 16:22:43


David Abrahams wrote:
> Andrey Melnikov <melnikov_at_[hidden]> writes:
>
>>What's the differense between [ modules.peek : TOOLS ] ; and [
>>os.environ TOOLS ] ?
>
>
> The former looks into the global module for the TOOLS variable. It
> might not correspond to anything in the environment. The latter gets
> the value of the TOOLS variable in the environment. When bjam starts,
> it puts the environment plus the command-line -s options into the
> global module, but it also does some weird preprocessing on the
> values, like splitting them at whitespace, so they start out not being
> quite what's in the environment, and can always be changed later.
>
I'd like to pick up values from both command line -s and environment
just like bbv1 recognizes TOOLS. How should I do this?

Andrey

 


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