|
Boost-Build : |
Subject: Re: [Boost-build] Referring to a project from outside a Boost tree
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2011-06-02 13:56:20
Edward Diener wrote:
> 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 ?
use-project /boost : $(BOOST_ROOT) ;
should do the trick.
HTH,
Gevorg
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