Skip to content

Commit

Permalink
WiX: add Foundation macros to the build tools
Browse files Browse the repository at this point in the history
Include a prebuilt copy of the Foundation macros in the toolchain
distribution on Windows to match the desired behaviour.
  • Loading branch information
compnerd committed Aug 15, 2024
1 parent e75de0b commit 7c1aeb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions platforms/Windows/bld/bld.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,12 @@
</Component>
</ComponentGroup>

<ComponentGroup Id="FoundationMacros" Directory="_usr_bin">
<Component>
<File Source="$(TOOLCHAIN_ROOT)\usr\bin\FoundationMacros.dll" />
</Component>
</ComponentGroup>

<ComponentGroup Id="argument_parser" Directory="_usr_bin">
<Component>
<File Source="$(DEVTOOLS_ROOT)\usr\bin\ArgumentParser.dll" />
Expand Down Expand Up @@ -425,6 +431,7 @@
<ComponentGroupRef Id="swift_driver" />
<ComponentGroupRef Id="swift_syntax" />
<ComponentGroupRef Id="SwiftMacros" />
<ComponentGroupRef Id="FoundationMacros" />

<ComponentGroupRef Id="ClangResources" />

Expand Down

0 comments on commit 7c1aeb6

Please sign in to comment.