Explorar o código

Build script erstellt jetzt auch headless smp exe

Kolja Strohm %!s(int64=5) %!d(string=hai) anos
pai
achega
e97b04efe0
Modificáronse 1 ficheiros con 14 adicións e 2 borrados
  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%