Boost logo

Boost-Build :

From: Michael Caisse (boost_at_[hidden])
Date: 2007-10-23 02:34:07


Gennadiy Rozental wrote:
>
>> 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
>
>
Of course not. You told it to build the target output_test_stream_test
so it is going to do that. It isn't going to build the common_location
target because you said to just build the output_test_stream_test.

It is not that different from other build systems. It did exactly what
you specified.

Just type bjam toolset=borland

if you don't like that, then specify both the targets you want with:

bjam toolset=borland output_test_stream_test common_location

-- 
----------------------------------
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