Explorar o código

besseres build script

Kolja Strohm %!s(int64=6) %!d(string=hai) anos
pai
achega
19e4e63909
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      build.bat

+ 2 - 2
build.bat

@@ -1,12 +1,12 @@
 :DebugLinux64
 SET RETURN=DebugLinux64
 SET NEXT=ReleaseLinux64
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Asteroids Linux/Asteroids Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "Asteroids Linux/Asteroids Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseLinux64
 SET RETURN=ReleaseLinux64
 SET NEXT=End
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Asteroids Linux/Asteroids Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "Asteroids Linux/Asteroids Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 GOTO End
 :Error