Просмотр исходного кода

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 9 лет назад
Родитель
Сommit
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 = $?
 
     #