Boost logo

Boost-Build :

Subject: Re: [Boost-build] Pointing to a Boost tree for bjam
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-11-15 17:36:09

On 11/15/2010 4:29 PM, Frédéric Bron wrote:
>> Often I will get some sandbox library into a separate directory from the
>> latest Boost trunk using SVN. I then want to use Boost build to create docs
>> or run tests using this sandbox library. But efforts fail unless I put the
>> library under a Boost implementation or my own latest Boost trunk because,
>> evidently, bjam can not find the rest of Boost in which the sandbox build(s)
>> depends.
> You can keep boost_sandbox apart from boost main trunk.
> Then you just need to set the environment variable BOOST_BUILD_PATH to
> point to "<path-to-boost-trunk>/tools/build/v2".

That worked fine for generating doc, but when I tried running tests for
a particular sandbox library it failed because a header file which was
only in the sandbox directory structure could not be found using a path
such as 'boost/alibrary/alibrary.hpp' etc. This would be a valid path if
the search for the header also began with the 'alibrary' directory but
evidently it does not for whatever arcane Boost Build reason.

So it seems your technique is good for generating docs but not for
running tests, where files from the sandbox library and from the boost
trunk must both be found.

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