Browse Source

Merge branch 'buildscript' of kolja/KSG-uebernehmen into master

Kolja Strohm 6 years ago
parent
commit
03026ded44
1 changed files with 21 additions and 0 deletions
  1. 21 0
      build.bat

+ 21 - 0
build.bat

@@ -0,0 +1,21 @@
+:DebugWin64
+SET RETURN=DebugWin64
+SET NEXT=ReleaseWin64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "übernehmen.sln" /p:configuration=debug /p:platform=x64
+if errorlevel 1 GOTO Error
+:ReleaseWin64
+SET RETURN=ReleaseWin64
+SET NEXT=ReleaseWin32
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "übernehmen.sln" /p:configuration=release /p:platform=x64
+if errorlevel 1 GOTO Error
+:ReleaseWin32
+SET RETURN=ReleaseWin32
+SET NEXT=END
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "übernehmen.sln" /p:configuration=release /p:platform=win32
+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