Skip to content

Commit 7c1aeb6

Browse files
committed
WiX: add Foundation macros to the build tools
Include a prebuilt copy of the Foundation macros in the toolchain distribution on Windows to match the desired behaviour.
1 parent e75de0b commit 7c1aeb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

platforms/Windows/bld/bld.wxs

+7
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,12 @@
326326
</Component>
327327
</ComponentGroup>
328328

329+
<ComponentGroup Id="FoundationMacros" Directory="_usr_bin">
330+
<Component>
331+
<File Source="$(TOOLCHAIN_ROOT)\usr\bin\FoundationMacros.dll" />
332+
</Component>
333+
</ComponentGroup>
334+
329335
<ComponentGroup Id="argument_parser" Directory="_usr_bin">
330336
<Component>
331337
<File Source="$(DEVTOOLS_ROOT)\usr\bin\ArgumentParser.dll" />
@@ -425,6 +431,7 @@
425431
<ComponentGroupRef Id="swift_driver" />
426432
<ComponentGroupRef Id="swift_syntax" />
427433
<ComponentGroupRef Id="SwiftMacros" />
434+
<ComponentGroupRef Id="FoundationMacros" />
428435

429436
<ComponentGroupRef Id="ClangResources" />
430437

0 commit comments

Comments
 (0)