Parcourir la source

WinRT: made sure build script generates Release-built binaries, by default

winrtbuild.bat/.ps1 were generating Debug-built binaries, in some cases.
This change makes sure that Release mode is the default.
David Ludwig il y a 10 ans
Parent
commit
0c9da0c855
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      build-scripts/winrtbuild.ps1

+ 1 - 1
build-scripts/winrtbuild.ps1

@@ -163,7 +163,7 @@ function Build-SDL-WinRT-Variant
     #
     # Build the VS Project:
     #
-    cmd.exe /c " ""$BatchFileForMSBuildEnv"" x86 & msbuild ""$VSProjectPath"" /p:Platform=$Platform /p:OutDir=""$OutDir\\"" /p:IntDir=""$IntermediateDir\\""" | Out-Host
+    cmd.exe /c " ""$BatchFileForMSBuildEnv"" x86 & msbuild ""$VSProjectPath"" /p:Configuration=Release /p:Platform=$Platform /p:OutDir=""$OutDir\\"" /p:IntDir=""$IntermediateDir\\""" | Out-Host
     $BuildResult = $?
 
     #