Boost logo

Boost-Build :

From: Zbynek Winkler (zw-bjam_at_[hidden])
Date: 2005-02-14 07:25:59


Hello,

I have a following project:
--------------------------------
project path ;

unit-test fixed-path-test : fixed-path.cpp fixed-path-test.cpp :
<dependency>segment-test ;
unit-test segment-test : segment-test.cpp ;

alias test : segment-test fixed-path-test ;

lib path : fixed-path.cpp : <dependency>test ;
--------------------------------
It is a path represented by different segments. I wanted to setup some
hierarchy for the tests that would describe that first the segments need
to be built and tested and without that there is no point in trying
anything else. When the segments are tested, try to build the path and
test that. When someone requests the library from the outside, make sure
that the tests pass.

The problem is that this Jamfile does not work :(. It complains that I
want to compile the same cpp with/without property <dependency>... into
the same place. What is the motivation behind this? Why does it care
about the <dependency> feature other than for specifing the build order?
Or am I using it the wrong way?

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