Skip to content

Commit 8df9409

Browse files
[Overlays] Set use-external-names to true in overlay file
`use-external-names` needs to be true in the overlay file, otherwise the incremental build will not work. If the value is false, the dependency scanner is reporting virtual path as dependency, thus build system cannot correctly validate if the dependencies are up-to-date since it does not know the on disk representation.
1 parent edfe1a1 commit 8df9409

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Runtimes/Overlay/Android/clang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ file(CONFIGURE
66
---
77
version: 0
88
case-sensitive: false
9-
use-external-names: false
9+
use-external-names: true
1010
roots:
1111
- name: "@CMAKE_ANDROID_NDK@/toolchains/llvm/prebuilt/windows-x86_64/sysroot/usr/include"
1212
type: directory

Runtimes/Overlay/Linux/glibc/clang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ file(CONFIGURE
88
---
99
version: 0
1010
case-sensitive: false
11-
use-external-names: false
11+
use-external-names: true
1212
roots:
1313
- name: "/usr/include"
1414
type: directory

Runtimes/Overlay/Windows/clang/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ file(CONFIGURE
1111
---
1212
version: 0
1313
case-sensitive: false
14-
use-external-names: false
14+
use-external-names: true
1515
roots:
1616
- name: "@WindowsSdkDir@/Include/@WindowsSDKVersion@/um"
1717
type: directory

0 commit comments

Comments
 (0)