Skip to content

Commit d9f557b

Browse files
committed
WiX: begin packaging the SDK from the staged directory
Rather than dealing with the path adjustments due to the SDK install and stage differences, simply re-package from the staged location. This allows us to have a working toolchain earlier and simplifies for the installer rules.
1 parent 9ad9bf4 commit d9f557b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

platforms/Windows/sdk/win/sdk.wxs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,25 +133,25 @@
133133

134134
<ComponentGroup Id="XCTest">
135135
<Component Directory="XCTest_usr_bin">
136-
<File Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\bin\XCTest.dll" />
136+
<File Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\$(ArchitectureBinaryDir)\XCTest.dll" />
137137
</Component>
138138
<Component Directory="XCTest_usr_lib_swift_windows_ARCH">
139-
<File Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\lib\swift\windows\XCTest.lib" />
139+
<File Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\lib\swift\windows\$(Architecture)\XCTest.lib" />
140140
</Component>
141141
<Component Directory="XCTest.swiftmodule">
142-
<File Name="$(Triple).swiftdoc" Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\lib\swift\windows\$(Architecture)\XCTest.swiftdoc" />
142+
<File Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\lib\swift\windows\XCTest.swiftmodule\$(Triple).swiftdoc" />
143143
</Component>
144144
<Component Directory="XCTest.swiftmodule">
145-
<File Name="$(Triple).swiftmodule" Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\lib\swift\windows\$(Architecture)\XCTest.swiftmodule" />
145+
<File Source="$(PLATFORM_ROOT)\Developer\Library\XCTest-development\usr\lib\swift\windows\XCTest.swiftmodule\$(Triple).swiftmodule" />
146146
</Component>
147147
</ComponentGroup>
148148

149149
<ComponentGroup Id="Testing">
150150
<Component Directory="Testing_usr_bin">
151-
<File Source="$(PLATFORM_ROOT)\Developer\Library\Testing-development\usr\bin\Testing.dll" />
151+
<File Source="$(PLATFORM_ROOT)\Developer\Library\Testing-development\usr\$(ArchitectureBinaryDir)\Testing.dll" />
152152
</Component>
153153
<Component Directory="Testing_usr_lib_swift_windows_ARCH">
154-
<File Source="$(PLATFORM_ROOT)\Developer\Library\Testing-development\usr\lib\swift\windows\Testing.lib" />
154+
<File Source="$(PLATFORM_ROOT)\Developer\Library\Testing-development\usr\lib\swift\windows\$(Architecture)\Testing.lib" />
155155
</Component>
156156
<Component Directory="Testing.swiftmodule">
157157
<File Source="$(PLATFORM_ROOT)\Developer\Library\Testing-development\usr\lib\swift\windows\Testing.swiftmodule\$(Triple).swiftdoc" />

0 commit comments

Comments
 (0)