Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2002-05-08 08:40:09

hpenne wrote:
> Hi. I'm using 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.

I'm not aware about any problems of this kind. Can you provide the simplest
project for which this problems exists. Can you examine or provide the output
generated when you pass "-d+12" options to jam in both cases (in should be
supported in 1.26).

> The library and its jamfile is in a subdirectory two levels down from
> the project root. I have not been able to make build the
> library if I start the build from the procject root and specify the
> library as the build target,

Right, because targets are prepended an unique suffix (grist) so that
identically named targets in different dirs are not confused. You should you
gristed names if you want to build anything in subdirs. You can find all the
target names in "-d+12" output.

> but it works if I do this in the
> library's sudirectory.

Yes, this is supported for user convenience.

- Volodya


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