check_libopenmpt_winrt.cmd 519 B

12345678910111213141516171819202122232425262728293031
  1. @echo off
  2. set BATCH_DIR=%~dp0
  3. cd %BATCH_DIR%
  4. cd ..\..
  5. set MY_DIR=%CD%
  6. call "build\auto\setup_arguments_winrt.cmd" %1 %2 %3 %4 %5 %6
  7. call "build\auto\setup_%MPT_VS_VER%.cmd"
  8. cd "build\%MPT_VS_TARGET%" || goto error
  9. msbuild libopenmpt.sln /target:Build /p:RunCodeAnalysis=true /p:EnableCppCoreCheck=false /property:Configuration=%MPT_VS_CONF%;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  10. cd ..\.. || goto error
  11. goto noerror
  12. :error
  13. cd "%MY_DIR%"
  14. exit 1
  15. :noerror
  16. cd "%MY_DIR%"
  17. exit 0