Subject: Re: [Boost-build] <implicit-dependency> on generated header does not add include path
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2014-04-16 13:09:21
On 04/16/2014 09:55 AM, Samuel Debionne wrote:
> Hello all,
> As far as I understand the documentation
> the path to the build directory of a generated header should be
> automatically added to include path. It seems not to be the case.
It's definitely supposed to work. There is a test
case in test/implicit_dependency.py, which passes.
Can you reduce this to a small, complete project
> I have something along those lines :
> exe app : app.c : <implicit-dependency>/gen ;
> where app.c has a #include <generated.h>
> use foo-generator ;
> lib generated.foo ;
> where foo-generator generates both generated.cpp and generated.h
> When compiling app.c, "generated.h" is not found in the include path
> (which is a build directory).
> I have try to add <dependency>/gen without more success.
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