浏览代码

besseres build script

Kolja Strohm 6 年之前
父节点
当前提交
25fd98f9d1
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      build.bat

+ 3 - 3
build.bat

@@ -1,17 +1,17 @@
 :DebugWin64
 SET RETURN=DebugWin64
 SET NEXT=ReleaseWin64
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "übernehmen.sln" /p:configuration=debug /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "übernehmen.sln" /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" "übernehmen.sln" /p:configuration=release /p:platform=x64
+"%InstallDir%\%MSBuildExe%" "übernehmen.sln" /p:configuration=release /p:platform=x64
 if errorlevel 1 GOTO Error
 :ReleaseWin32
 SET RETURN=ReleaseWin32
 SET NEXT=END
-"%InstallDir%\MSBuild\15.0\Bin\MSBuild.exe" "übernehmen.sln" /p:configuration=release /p:platform=win32
+"%InstallDir%\%MSBuildExe%" "übernehmen.sln" /p:configuration=release /p:platform=win32
 if errorlevel 1 GOTO Error
 GOTO End
 :Error