Boost logo

Boost-Build :

Subject: Re: [Boost-build] Referring to a project from outside a Boost tree
From: Robert Collyer (rcollyer_at_[hidden])
Date: 2011-06-02 15:21:09

My complaint about using use-project is that it will recompile the boost
libs with the options you've specified for your project even though
you'd like it to use the pre-built/installed libs.

I know there is a boost.jam file in contrib which would do what I want.
But, it uses an outdated library naming scheme, so it is unable to find
the installed libraries. Has anyone updated it, but not submitted it
for distribution by any chance?

Rob Collyer

On 6/2/11 12:56 PM, Gevorg Voskanyan wrote:
> 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
> _______________________________________________
> Unsubscribe& other changes:

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