Browse Source

Build script erstellt jetzt auch headless smp exe

Kolja Strohm 5 years ago
parent
commit
e97b04efe0
1 changed files with 14 additions and 2 deletions
  1. 14 2
      build.bat

+ 14 - 2
build.bat

@@ -1,15 +1,27 @@
 :ReleaseWin64
+cd "SMP"
 SET RETURN=ReleaseWin64
 SET NEXT=ReleaseWin32
-"%InstallDir%\%MSBuildExe%" "SMP.sln" /p:configuration=release /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "SMP.vcxproj" /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
+cd ..
 :ReleaseWin32
+cd "SMP"
 SET RETURN=ReleaseWin32
+SET NEXT=ReleaseWin64H
+"%InstallDir%\%MSBuildExe%" "SMP.vcxproj" /p:configuration=release /p:platform=win32
+if errorlevel 1 GOTO Error
+cd ..
+:ReleaseWin64H
+cd "SMP Headless"
+SET RETURN=ReleaseWin64H
 SET NEXT=END
-"%InstallDir%\%MSBuildExe%" "SMP.sln" /p:configuration=release /p:platform=win32
+"%InstallDir%\%MSBuildExe%" "SMP Headless.vcxproj" /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
+cd ..
 GOTO End
 :Error
+cd ..
 SET /p redo=Nochmal versuchen?(j/n):
 IF /I '%redo%' equ 'j' GOTO %RETURN%
 GOTO %NEXT%