فهرست منبع

besseres build script

Kolja Strohm 6 سال پیش
والد
کامیت
89d23b85cf
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      build.bat

+ 5 - 5
build.bat

@@ -1,27 +1,27 @@
 :DebugWin64
 SET RETURN=DebugWin64
 SET NEXT=ReleaseWin64
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "GSL/GSL.vcxproj" /p:configuration=debug /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "GSL/GSL.vcxproj" /p:configuration=debug /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseWin64
 SET RETURN=ReleaseWin64
 SET NEXT=ReleaseWin32
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "GSL/GSL.vcxproj" /p:configuration=release /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "GSL/GSL.vcxproj" /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseWin32
 SET RETURN=ReleaseWin32
 SET NEXT=DebugLinux64
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "GSL/GSL.vcxproj" /p:configuration=release /p:platform=win32
+"%InstallDir%\%MSBuildExe%" "GSL/GSL.vcxproj" /p:configuration=release /p:platform=win32
 if errorlevel 1 GOTO Error
 :DebugLinux64
 SET RETURN=DebugLinux64
 SET NEXT=ReleaseLinux64
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "GSL Linux/GSL Linux.vcxproj" /t:rebuild /p:configuration=debug /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "GSL Linux/GSL 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" "GSL Linux/GSL Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "GSL Linux/GSL Linux.vcxproj" /t:rebuild /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 GOTO End
 :Error