check_libopenmpt_test_args.cmd 514 B

1234567891011121314151617181920212223242526272829
  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.cmd" %1 %2 %3 %4 %5 %6
  7. call "build\auto\setup_%MPT_VS_VER%.cmd"
  8. cd "build\%MPT_VS_WITHTARGET%" || goto error
  9. msbuild libopenmpt_test.sln /target:Build /p:RunCodeAnalysis=true /p:EnableCppCoreCheck=false /property:Configuration=Release;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