build_release.cmd 361 B

1234567891011
  1. @echo off
  2. setlocal
  3. if /i not "%VSCMD_ARG_TGT_ARCH%"=="x64" (
  4. echo Run this script from an x64 Visual Studio Developer Command Prompt.
  5. exit /b 1
  6. )
  7. where msbuild >nul 2>&1
  8. if errorlevel 1 exit /b 1
  9. cd /d "%~dp0.."
  10. msbuild Sunrise.sln /m:4 /p:Configuration=Release /p:Platform=x64 /v:minimal /nologo /fl /flp:logfile=build-release.log
  11. exit /b %errorlevel%