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:
@@ -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) ;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user