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 question in disguise? Please provide more
> details if so.

It is a question. I am trying to convert my unit test make
file to 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 -o runner.cpp $(TEST_H)

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

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?




Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at