Boost logo

Boost-Build :

Subject: Re: [Boost-build] Boost include path configuration
From: Ryan Gallagher (ryan.gallagher_at_[hidden])
Date: 2009-09-03 17:16:29


Christian Auby <christian <at> bitfrost.no> writes:

<snip>
> It builds perfectly from within Visual Studio. Boost build has been
> configured with "using msvc ;"

You need to inform boost build about where your boost headers are
located. Start by adding the following to your user-config.jam
(or just the Jamfile):

# Set Jam variable to the boost root pointed at by the environment.
import os ;
constant BOOST_ROOT : [ os.environ BOOST_ROOT ] ;

>
> The exact same code does not build with the following jamfile:
>
> exe lambda
> : [ glob source/*.cpp ]
        : <include>$(BOOST_ROOT)
        ;

I generally just put the "requirements <include>$(BOOST_ROOT)" in
my Jamroot's project though.

HTH,

-Ryan


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