Skip to content

Commit 8f26db1

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 00f3a44 commit 8f26db1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

platforms/Windows/bld/bld.wxs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,12 @@
338338
</Component>
339339
</ComponentGroup>
340340

341+
<ComponentGroup Id="FoundationMacros" Directory="_usr_bin">
342+
<Component>
343+
<File Source="$(TOOLCHAIN_ROOT)\usr\bin\FoundationMacros.dll" />
344+
</Component>
345+
</ComponentGroup>
346+
341347
<ComponentGroup Id="argument_parser" Directory="_usr_bin">
342348
<Component>
343349
<File Source="$(DEVTOOLS_ROOT)\usr\bin\ArgumentParser.dll" />
@@ -490,6 +496,7 @@
490496
<ComponentGroupRef Id="swift_syntax" />
491497
<ComponentGroupRef Id="plugin_server" />
492498
<ComponentGroupRef Id="SwiftMacros" />
499+
<ComponentGroupRef Id="FoundationMacros" />
493500

494501
<ComponentGroupRef Id="ClangResources" />
495502

0 commit comments

Comments
 (0)