Browse Source

besseres build script

Kolja Strohm 6 năm trước cách đây
mục cha
commit
2f81bbe7e8
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      build.bat

+ 3 - 3
build.bat

@@ -1,17 +1,17 @@
 :DebugWin64
 SET RETURN=DebugWin64
 SET NEXT=ReleaseWin64
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "KSGClient.sln" /p:configuration=debug /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "KSGClient.sln" /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseWin64
 SET RETURN=ReleaseWin64
 SET NEXT=ReleaseWin32
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "KSGClient.sln" /p:configuration=release /p:platform=x64
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "KSGClient.sln" /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseWin32
 SET RETURN=ReleaseWin32
 SET NEXT=END
-"D:\Visual Studio 2017\MSBuild\15.0\Bin\MSBuild.exe" "KSGClient.sln" /p:configuration=release /p:platform=win32
+"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "KSGClient.sln" /p:configuration=release /p:platform=win32
 if errorlevel 1 GOTO Error
 GOTO End
 :Error