List Info

Thread: How to reference Boost header include path from outside the Boost tree?




How to reference Boost header include path from outside the Boost tree?
user name
2006-03-30 16:25:17
"John Maddock" <johnjohnmaddock.co.uk>
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

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )