Browse Source

Build.bat hinzugefügt

kolja 6 years ago
parent
commit
b9d4b1ceb5
1 changed files with 31 additions and 0 deletions
  1. 31 0
      build.bat

+ 31 - 0
build.bat

@@ -0,0 +1,31 @@
+:DebugWin64
+SET RETURN=DebugWin64
+SET NEXT=ReleaseWin65
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" Framework.vcxproj /p:configuration=debug /p:platform=x64
+if errorlevel 1 GOTO Error
+:ReleaseWin65
+SET RETURN=ReleaseWin65
+SET NEXT=ReleaseWin32
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" Framework.vcxproj /p:configuration=release /p:platform=x64
+if errorlevel 1 GOTO Error
+:ReleaseWin32
+SET RETURN=ReleaseWin32
+SET NEXT=DebugLinux64
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" Framework.vcxproj /p:configuration=release /p:platform=win32
+if errorlevel 1 GOTO Error
+:DebugLinux64
+SET RETURN=DebugLinux64
+SET NEXT=ReleaseLinux64
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Framework Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
+if errorlevel 1 GOTO Error
+:ReleaseLinux64
+SET RETURN=ReleaseLinux64
+SET NEXT=End
+"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Framework Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
+if errorlevel 1 GOTO Error
+GOTO End
+:Error
+SET /p redo=Nochmal versuchen?(j/n):
+IF /I '%redo%' equ 'j' GOTO %RETURN%
+GOTO %NEXT%
+:End