build.bat 684 B

123456789101112131415161718192021
  1. :DebugWin64
  2. SET RETURN=DebugWin64
  3. SET NEXT=ReleaseWin64
  4. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "ksgScript.sln" /p:configuration=debug /p:platform=x64
  5. if errorlevel 1 GOTO Error
  6. :ReleaseWin64
  7. SET RETURN=ReleaseWin64
  8. SET NEXT=ReleaseWin32
  9. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "ksgScript.sln" /p:configuration=release /p:platform=x64
  10. if errorlevel 1 GOTO Error
  11. :ReleaseWin32
  12. SET RETURN=ReleaseWin32
  13. SET NEXT=END
  14. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "ksgScript.sln" /p:configuration=release /p:platform=win32
  15. if errorlevel 1 GOTO Error
  16. GOTO End
  17. :Error
  18. SET /p redo=Nochmal versuchen?(j/n):
  19. IF /I '%redo%' equ 'j' GOTO %RETURN%
  20. GOTO %NEXT%
  21. :End