Boost logo

Boost-Build :

From: hpenne (penne_at_[hidden])
Date: 2002-05-08 07:52:33


Hi. I'm using boost.build 1.26 and I'm having some difficulties with
header file dependencies.

The jamfiles of my project build a library target that the main
executable target depends on.

If I modify a headerfile and specify that I want to build the
executable, then many of the cpp-files that depend on the header file
are not updated. If I specify that I want the build the library,
then everything is updated OK.

The library and its jamfile is in a subdirectory two levels down from
the project root. I have not been able to make boost.build build the
library if I start the build from the procject root and specify the
library as the build target, but it works if I do this in the
library's sudirectory. This might have something to do with the
problem.

An excerpt of the jamfile is included below.

Is there a fix for this problem? Is there a fix for it?

- Helge Penne

--- main jamfile ---

project-root ;

subinclude Mdr320-cppunit/src ;
subinclude Mdr320-generic/src ;

exe Mdr320 : main.cpp <lib>Mdr320-generic/src/GenericMdr ;

 


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