Boost logo

Boost-Build :

From: Zbynek Winkler (zw-bjam_at_[hidden])
Date: 2004-09-08 12:48:51


Vladimir Prus wrote:

>>What I want is for test2_test to run only if test1_test passes.
>>
>>
>Here's what works for me:
>
> unit-test a : a.cpp ;
> unit-test b : b.cpp : <dependency>a ;
>
>
When I say it, I thought -- great! Only to later find out that the
following does not work:

unit-test a : a.cpp a-test.cpp ;
unit-test b : b.cpp a.cpp b-test.cpp : <dependency>a ;

Beacause it says "duplicate name for target" for a.cpp. It tries to
create one a.obj with <dependency>a and another without it. Is there a
way around?

Zbynek

-- 
http://zw.matfyz.cz/ http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic
 

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