$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
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
Hello all,
As far as I understand the documentation
http://www.boost.org/boost-build2/doc/html/bbv2/reference/generated_headers.html
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 :
app/Jamfile.v2
exe app : app.c : <implicit-dependency>/gen ;
where app.c has a #include <generated.h>
gen/Jamfile.v2
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 ?
Samuel