clean_libopenmpt_retro_winxp.cmd 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:Clean /property:Configuration=Release;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  10. msbuild libopenmpt.sln /target:Clean /property:Configuration=Release;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  11. msbuild openmpt123.sln /target:Clean /property:Configuration=Release;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  12. if "%MPT_VS_ARCH%" == "Win32" (
  13. msbuild in_openmpt.sln /target:Clean /property:Configuration=Release;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  14. msbuild xmp-openmpt.sln /target:Clean /property:Configuration=Release;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  15. )
  16. msbuild libopenmpt.sln /target:Clean /property:Configuration=ReleaseShared;Platform=%MPT_VS_ARCH% /maxcpucount /verbosity:minimal || goto error
  17. cd ..\.. || goto error
  18. goto noerror
  19. :error
  20. cd "%MY_DIR%"
  21. exit 1
  22. :noerror
  23. cd "%MY_DIR%"
  24. exit 0