Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-15 08:32:23


chyipin wrote:
> Environmental variables
>
> are in
>
> > global namespace and are not visible. It's possible to get at them
>
> with
>
> > import modules ;
> > ECHO [ modules.peek : $(BOOST_ROOT) ] ;
>
> Thanks again for this nice bit of info. Minor correction:
>
> import modules ;
> ECHO [ modules.peek : BOOST_ROOT ] ;
>
> No $() around BOOST_ROOT. ;)

Of course you are right! Unless... of course, the name of variable which gives
boost root must be configurable ;-) But that
1. Would be ECHO [ modules.peek : $(BOOST_ROOT_VARIABLE_NAME) ] ;
2. Not really likely ;-)

- 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