Boost logo

Boost-Build :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-23 02:16:32


"Michael Caisse" <boost_at_[hidden]> wrote in message
news:471D8BFD.6030706_at_objectmodelingdesigns.com...
> Gennadiy Rozental wrote:
>>
>> Unfortunately a lot of things in BB are not so obvios and can be easily
>> misused.
>>
>> I do not have much time to dig into BB docs. I've tried to follow the
>> link.
>>
>> I've added
>>
>> install common_location
>> : output_test_stream_test
>> : <install-dependencies>on <install-type>LIB
>> ;
>>
>> to the test/Jamfile.v2
>>
>> nothing happend.
>>
>> What should I write and where, so that for every unit test that is linked
>> with shared version of Boost.Test component the corresponding library
>> that
>> get's build as part of unit test compilation is copied in some common
>> location, preferably <BOOST_ROOT>/stage?
>>
>> Gennadiy
>>
>>
>>
> Gennady -
>
> install common_location
> : output_test_stream_test
> : <install-dependencies>on
> <install-type>LIB
> <location>$(BOOST_ROOT)/stage
> ;
>
>
> will install output_test_stream_test and all of the dependencies in the
> $(BOOST_ROOT)/stage directory.

Nope. I added above to the test/Jamfile and run bjam toolset=borland
output_test_stream_test. Library is built, but never copied into desired
location.

I also need this to work generically for all unit test modules.

Gennadiy


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