Преглед на файлове

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 преди 10 години
родител
ревизия
0c9da0c855
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 = $?
 
     #