Boost logo

Boost-Build :

From: Michael Caisse (boost_at_[hidden])
Date: 2007-10-23 01:51:57


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.

-- 
----------------------------------
Michael Caisse
Object Modeling Designs
www.objectmodelingdesigns.com

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