mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
Call explicit type register rule to avoid errors when the type file is imported from another type file. (Fixes #4118).
[SVN r61393]
This commit is contained in:
@@ -69,10 +69,10 @@ class c-scanner : scanner
|
||||
|
||||
scanner.register c-scanner : include ;
|
||||
|
||||
type CPP : cpp cxx cc ;
|
||||
type H : h ;
|
||||
type HPP : hpp : H ;
|
||||
type C : c ;
|
||||
type.register CPP : cpp cxx cc ;
|
||||
type.register H : h ;
|
||||
type.register HPP : hpp : H ;
|
||||
type.register C : c ;
|
||||
|
||||
# It most cases where a CPP file or a H file is a source of some action, we
|
||||
# should rebuild the result if any of files included by CPP/H are changed. One
|
||||
|
||||
@@ -20,7 +20,7 @@ class objc-scanner : c-scanner
|
||||
|
||||
scanner.register objc-scanner : include ;
|
||||
|
||||
type OBJECTIVE_C : m ;
|
||||
type OBJECTIVE_CPP : mm ;
|
||||
type.register OBJECTIVE_C : m ;
|
||||
type.register OBJECTIVE_CPP : mm ;
|
||||
type.set-scanner OBJECTIVE_C : objc-scanner ;
|
||||
type.set-scanner OBJECTIVE_CPP : objc-scanner ;
|
||||
|
||||
Reference in New Issue
Block a user