Boost logo

Boost-Build :

From: chyipin (chyipin_at_[hidden])
Date: 2003-09-14 20:53:53


 
> Until now, I've used a separate directory tree which the same
structure as
> Boost, but containing only Jamfile. Those Jamfiles were referring
to main
> boost tree as source-location. It worked, but I'd agree if you say
it's not
> very convenient.
>
> I've just tweaked the source to search for Jamfile.v2 and prefer it
to any
> other found Jamfile. Could you getting
> http://zigzag.cs.msu.su:7813/~ghost/working_copy/new/project.jam,
place it to
> "new" directory of Boost.Build tree and try again?
>

It works, thanks.

> In V1, everything was in a big can ("global namespace"). In V2,
each module,
> including Jamfiles, has its own namespace. 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. ;)

 


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