build.bat 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. :DebugWin64
  2. SET RETURN=DebugWin64
  3. SET NEXT=ReleaseWin64
  4. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /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" "Network/Network.vcxproj" /p:configuration=release /p:platform=x64
  10. if errorlevel 1 GOTO Error
  11. :ReleaseWin32
  12. SET RETURN=ReleaseWin32
  13. SET NEXT=DebugLinux64
  14. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=release /p:platform=win32
  15. if errorlevel 1 GOTO Error
  16. :DebugLinux64
  17. SET RETURN=DebugLinux64
  18. SET NEXT=ReleaseLinux64
  19. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
  20. if errorlevel 1 GOTO Error
  21. :ReleaseLinux64
  22. SET RETURN=ReleaseLinux64
  23. SET NEXT=End
  24. "D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
  25. if errorlevel 1 GOTO Error
  26. GOTO End
  27. :Error
  28. SET /p redo=Nochmal versuchen?(j/n):
  29. IF /I '%redo%' equ 'j' GOTO %RETURN%
  30. GOTO %NEXT%
  31. :End