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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|