[Boost.Build v2] Incorrectly handled header dependencies

I'm using the CVS version of Boost.Build on WinXP. Consider the following project: top/ | +-- include/ | | | +-- dir/ | | | +--header.h +-- Jamroot +-- main.cxx // -- main.cxx #include

Hi Jaroslav,
// -- main.cxx #include
int main() { return 0; }
# -- Jamroot path-constant TOP : . ; exe app : main.cxx : <include>$(TOP)/include ;
Modification of header.h does not invoke the app target.
That's indeed a Windows-specific bug in Boost.Build V2. I've just committed an initial fix and a testcase (that's revision 1.182 of tools/builtin.jam). If that's no convenient for you to get the CVS version, you can remove the $(TOP)/ part in Jamroot -- all paths are relative to Jamroot by default, and it's the $(TOP) that causes the bug. Thanks for reporting! Volodya
participants (2)
-
Jaroslav Gresula
-
Vladimir Prus