|
Boost-Build : |
From: Rene Rivera (grafikrobot_at_[hidden])
Date: 2007-05-29 15:57:44
Lawrence Spector wrote:
> Now, if I want
> to put it in site-config.jam as you suggested, what other steps are
> there so that the Jamroot file can use the contents of
> site-config.jam. I tried putting the import os; and local BOOST_ROOT
> = [ os.environ BOOST_ROOT ] ; into the site-config file, but my
> Jamroot file was not able to see the variables. What I gathered from
> reading is that all jam files have their own namespaces. How do you
> "export" something into the global namespace then?
You can:
import os;
path-constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;
I think.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo
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