clean_libopenmpt_winrt.cmd 607 B

123456789101112131415161718192021222324252627282930313233
  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:Clean /property:Configuration=Release;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  10. msbuild libopenmpt.sln /target:Clean /property:Configuration=ReleaseShared;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  11. cd ..\.. || goto error
  12. goto noerror
  13. :error
  14. cd "%MY_DIR%"
  15. exit 1
  16. :noerror
  17. cd "%MY_DIR%"
  18. exit 0