Browse Source

besseres build script

Kolja Strohm 6 years ago
parent
commit
6655aacc75
1 changed files with 5 additions and 5 deletions
  1. 5 5
      build.bat

+ 5 - 5
build.bat

@@ -1,27 +1,27 @@
 :DebugWin64
 :DebugWin64
 SET RETURN=DebugWin64
 SET RETURN=DebugWin64
 SET NEXT=ReleaseWin64
 SET NEXT=ReleaseWin64
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=debug /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 if errorlevel 1 GOTO Error
 :ReleaseWin64
 :ReleaseWin64
 SET RETURN=ReleaseWin64
 SET RETURN=ReleaseWin64
 SET NEXT=ReleaseWin32
 SET NEXT=ReleaseWin32
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=release /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 if errorlevel 1 GOTO Error
 :ReleaseWin32
 :ReleaseWin32
 SET RETURN=ReleaseWin32
 SET RETURN=ReleaseWin32
 SET NEXT=DebugLinux64
 SET NEXT=DebugLinux64
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=release /p:platform=win32
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Network/Network.vcxproj" /p:configuration=release /p:platform=win32
 if errorlevel 1 GOTO Error
 if errorlevel 1 GOTO Error
 :DebugLinux64
 :DebugLinux64
 SET RETURN=DebugLinux64
 SET RETURN=DebugLinux64
 SET NEXT=ReleaseLinux64
 SET NEXT=ReleaseLinux64
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Network Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 if errorlevel 1 GOTO Error
 :ReleaseLinux64
 :ReleaseLinux64
 SET RETURN=ReleaseLinux64
 SET RETURN=ReleaseLinux64
 SET NEXT=End
 SET NEXT=End
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "Network Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "Network Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 if errorlevel 1 GOTO Error
 GOTO End
 GOTO End
 :Error
 :Error