Boost logo

Boost-Build :

Subject: [Boost-build] Referring to a project from outside a Boost tree
From: Edward Diener (eldiener_at_[hidden])
Date: 2011-06-02 12:39:25

For my sandbox library, tested from outside of a Boost tree, I wanted to
try use the unit test framework. I looked how Boost libraries others do
this and noticed a reference to the unit test framework as
'/boost/test//boost_unit_test_framework/<link>static'. But if I specify
this from outside a Boost tree, how do I tell Boost Build how to find
this project ?

For including header files I used the common technique of setting
$(BOOST_ROOT) to a Boost tree and then having project requirements of
'<include>.&&$(BOOST_ROOT)'. Is there a similar technique for having the
Build system find a Boost project in a Boost tree ?

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