
21 Jan
2011
21 Jan
'11
4:45 p.m.
At Fri, 21 Jan 2011 09:01:39 -0500, Bryce Lelbach wrote:
While auto-index is still not a part of boost, I think you should check for the environmental variable BOOST_ROOT so that users can checkout auto-index and use it outside of their boost-trunk source tree. I see that you had:
local boost = [ modules.peek : BOOST ] ;
I've never seen the above done before to locate boost. I usually use:
import os ; local BOOST_ROOT = [ os.environ BOOST_ROOT ] ;
I'm sure volodya could tell us which is more portable.
Either one can work, but John's way is better. -- Dave Abrahams BoostPro Computing http://www.boostpro.com