Boost logo

Boost-Build :

Subject: Re: [Boost-build] <implicit-dependency> not working on Windows
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-24 15:51:27


AMDG

Ian Emmons wrote:
> I have a jam file that works on Macintosh, and I'm now porting it to
> Windows. This jam file generates some header files that are
> subsequently used in the compilation of a lib target. The relevant
> excerpt of my jam file is as follows:
>
> <snip>
>
> The problem I'm running into is that when bjam builds the lib target,
> it does not invoke the four targets that generate the header files
> first, in spite of the <implicit-dependency> declarations. However,
> if I explicitly invoke bjam on those targets first, bjam correctly
> builds them and a subsequent invocation of bjam on the lib target will
> succeed.
>
> Any idea why the <implicit-dependency> declarations on the lib target
> aren't working?

It seems to be because the headers have several directories.
For instance:
  h com_bbn_parliament_jni_Config.h : Parliment.jar ;
should work.

a reduced test case is attached.

In Christ,
Steven Watanabe




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