Boost logo

Boost-Build :

From: Zhon Johansen (zhon.johansen_at_[hidden])
Date: 2005-08-23 20:09:34


Rene Rivera wrote:

> Or was that a boost.build question in disguise? Please provide more
> details if so.

It is a boost.build question. I am trying to convert my unit test make
file to boost.build v2. The directory structure as shown in my previous
message. The first question is how do i duplicate this section Makefile
in a Jamfile.

TEST_H := $(wildcard test/*test.h)

runner.cpp: $(TEST_H)
perl cxxtestgen.pl -o runner.cpp $(TEST_H)

The second question deals with linking the tested files into runner.exe

TESTED_OBJS = \
dir1/testedfile.obj \
dir2/testedfile2.obj \

runner.exe: runner.obj $(TESTED_OBJS)
link ...

The runner.cpp exists in test/dir1/

The question is how do i have Jamfiles in dir1 and dir2 and test/dir1?
Suggestions on how the Jamfiles should look?

thanks,

Zhon
zhon_at_[hidden]

 


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