Skip to content

Commit bb0a917

Browse files
committed
WiX: package RegexBuilder into the Windows distribution
We were previously missing the RegexBuilder module in the SDK distribution. Package this up as it should be available on Windows. Add the runtime component to the runtime MSI as well.
1 parent 097a839 commit bb0a917

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

platforms/Windows/rtl/lib/rtllib.wxs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<Component>
2121
<File Source="$(SDK_ROOT)\usr\bin\swiftDistributed.dll" />
2222
</Component>
23+
<Component>
24+
<File Source="$(SDK_ROOT)\usr\bin\swiftRegexBuilder.dll" />
25+
</Component>
2326
<Component>
2427
<File Source="$(SDK_ROOT)\usr\bin\swift_RegexParser.dll" />
2528
</Component>

platforms/Windows/sdk/sdk.wxs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
<Directory Id="Foundation.swiftmodule" Name="Foundation.swiftmodule" />
9393
<Directory Id="FoundationNetworking.swiftmodule" Name="FoundationNetworking.swiftmodule" />
9494
<Directory Id="FoundationXML.swiftmodule" Name="FoundationXML.swiftmodule" />
95+
<Directory Id="RegexBuilder.swiftmodule" Name="RegexBuilder.swiftmodule" />
9596
<Directory Id="Swift.swiftmodule" Name="Swift.swiftmodule" />
9697
<Directory Id="SwiftOnoneSupport.swiftmodule" Name="SwiftOnoneSupport.swiftmodule" />
9798
<Directory Id="WinSDK.swiftmodule" Name="WinSDK.swiftmodule" />
@@ -377,6 +378,21 @@
377378
</Component>
378379
</ComponentGroup>
379380

381+
<ComponentGroup Id="RegexBuilder" Directory="RegexBuilder.swiftmodule">
382+
<Component>
383+
<File Name="$(ArchTriple).swiftdoc" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\RegexBuilder.swiftdoc" />
384+
</Component>
385+
<Component>
386+
<File Name="$(ArchTriple).swiftinterface" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\RegexBuilder.swiftinterface" />
387+
</Component>
388+
<Component>
389+
<File Name="$(ArchTriple).swiftmodule" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\RegexBuilder.swiftmodule" />
390+
</Component>
391+
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
392+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\swiftRegexBuilder.lib" />
393+
</Component>
394+
</ComponentGroup>
395+
380396
<ComponentGroup Id="Swift" Directory="Swift.swiftmodule">
381397
<Component>
382398
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\Swift.swiftmodule\$(ArchTriple).swiftdoc" />
@@ -502,6 +518,7 @@
502518
<ComponentGroupRef Id="Foundation" />
503519
<ComponentGroupRef Id="FoundationXML" />
504520
<ComponentGroupRef Id="FoundationNetworking" />
521+
<ComponentGroupRef Id="RegexBuilder" />
505522
<ComponentGroupRef Id="Swift" />
506523
<ComponentGroupRef Id="SwiftOnoneSupport" />
507524
<ComponentGroupRef Id="WinSDK" />

0 commit comments

Comments
 (0)