Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-30 11:25:17


"John Maddock" <john_at_[hidden]> writes:

> I'm trying to build some simple demos with bbv2, but the Boost headers
> aren't automatically placed in the include path, even when using:
>
> run myfile ; # Doesn't find Boost headers!
>
> So then I tried adding <include>$(BOOST_ROOT) but that doesn't work either -
> apparently BOOST_ROOT isn't set by bbv2 if it's not set by the user.
>
> So.... how do I find the Boost header path?
>
> Or how about something like:
>
> using boost ;
>
> which would just do the right thing?

You need to put

    /boost//headers

in your list of sources.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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