Boost logo

Boost-Build :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-23 00:43:46


"Michael Caisse" <boost_at_[hidden]> wrote in message
news:471D7728.50106_at_objectmodelingdesigns.com...
> Gennadiy Rozental wrote:
>> "Vladimir Prus" <ghost_at_[hidden]> wrote in message
>> news:ffhge0$27v$1_at_ger.gmane.org...
>>
>>> Gennadiy Rozental wrote:
>>>
>>>
>>> You can use the 'install' rule to place DLL into any directory you like.
>>> You can use 'explicit' on the name of the install rule, if you don't
>>> want that staging to happen automatically.
>>>
>>
>> bjam toolset=... install produces
>>
>> "don't know how to make" responce.
>>
>> Do you mean I need to add something into Jamfile?
>>
>> Can you just give me explicit text to put into my Jamfile?
>>
>> Genandiy
>
> Genandiy -
>
> Install is described in detail in the documents. It will do exactly what
> you need.
>
>
> http://www.boost.org/doc/html/bbv2/tasks.html#bbv2.tasks.installing

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


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