2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Updated Boost Jam's internal build system to correctly recognize header changes when using same-named headers located in different folders.

[SVN r80208]
This commit is contained in:
Jurko Gospodnetić
2012-08-25 16:09:31 +00:00
parent 17ffcef7eb
commit bc37c967a6

View File

@@ -800,11 +800,14 @@ rule .scan ( targets + )
rule .hdr.scan ( target : includes * : binding )
{
local target-path = [ NORMALIZE_PATH $(binding:D) ] ;
NOCARE $(includes) ;
INCLUDES $(target) : $(includes) ;
SEARCH on $(includes) = $(target-path) ;
ISFILE $(includes) ;
.scan $(includes) ;
# Extra grist provides target name uniqueness when referencing same name
# header files from different folders.
local include-targets = <$(target-path)>$(includes) ;
NOCARE $(include-targets) ;
INCLUDES $(target) : $(include-targets) ;
SEARCH on $(include-targets) = $(target-path) ;
ISFILE $(include-targets) ;
.scan $(include-targets) ;
}
.scan $(jam.source) ;