Subject: [Boost-build] <implicit-dependency> on generated header does not add include path
From: Samuel Debionne (samuel.debionne_at_[hidden])
Date: 2014-04-16 11:55:06
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.
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.
Am I missing something ?
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