
21 Jan
2011
21 Jan
'11
10:14 p.m.
On 21 January 2011 16:45, Dave Abrahams <dave@boostpro.com> wrote:
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.
We could be more consistent about environment variables - sometimes it's BOOST, sometimes it's BOOST_ROOT. Daniel