Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-30 10:26:15

On Thursday 30 March 2006 18:36, John Maddock wrote:
> 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 should using something like this:

  projec yours :
     requirements <use>path_to_boost//headers ;

  run myfile ;

Or you can have:

  run myfile path_to_boost//headers ;

This is not fully covered in docs, I'll try to update

with information about *using* header-only libraries, as opposed to declaring


Vladimir Prus
Boost.Build V2:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at