Skip to content

Commit 5e87b9d

Browse files
committed
WiX: package up SwiftBridging C++ module
Add the missing header and modulemap definition for the SwiftBridging module in Swift. This improves the C++ interop coverage on Windows.
1 parent 76e6067 commit 5e87b9d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

platforms/Windows/bld/bld.wxs

+8
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
<DirectoryRef Id="_usr_include">
2323
<Directory Id="_usr_include_llvm_c" Name="llvm-c" />
24+
<Directory Id="_usr_include_swift" Name="swift" />
2425
</DirectoryRef>
2526

2627
<DirectoryRef Id="_usr_lib_swift">
@@ -219,6 +220,13 @@
219220
<Component>
220221
<File Source="$(TOOLCHAIN_ROOT)\usr\lib\swift\swiftToCxx\experimental-interoperability-version.json" />
221222
</Component>
223+
224+
<Component Directory="_usr_include_swift">
225+
<File Source="$(TOOLCHAIN_ROOT)\usr\include\swift\module.modulemap" />
226+
</Component>
227+
<Component Directory="_usr_include_swift">
228+
<File Source="$(TOOLCHAIN_ROOT)\usr\include\swift\bridging" />
229+
</Component>
222230
</ComponentGroup>
223231

224232
<ComponentGroup Id="SwiftDemangle">

0 commit comments

Comments
 (0)