Skip to content

Commit d16b9c3

Browse files
committed
utils: build all variants when packaging
The packaging (toolchain build) requires that all of the configurations are built. Ensure that we enable all the variants when doing a packaging build.
1 parent 0fbf70e commit d16b9c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/build-windows-toolchain.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,9 @@ set "PackagingArg=-SkipPackaging"
7171
if not "%INCLUDE_PACKAGING%"=="" set "PackagingArg=-Stage %PackageRoot%"
7272

7373
:: Build the arguments related to Windows SDK builds
74-
set "WindowsSDKArgs=-Windows -WindowsSDKLinkModes dynamic"
75-
if not "%WINDOWS_SDKS%"=="" set "WindowsSDKArgs=-Windows -WindowsSDKArchitectures %WINDOWS_SDKS% -WindowsSDKLinkModes dynamic"
74+
set "WindowsSDKArgs=-Windows"
75+
if "%INCLUDE_PACKAGING%"=="" set "WindowsSDKArgs=%WindowsSDKArgs% -WindowsSDKLinkModes dynamic"
76+
if not "%WINDOWS_SDKS%"=="" set "WindowsSDKArgs=%WindowsSDKArgs% -WindowsSDKArchitectures %WINDOWS_SDKS%"
7677

7778
:: Build the -HostArchName argument, if any.
7879
set "HostArchNameArg="

0 commit comments

Comments
 (0)