build_libopenmpt_retro_winxp.cmd 776 B

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