Added buildcommand

This commit is contained in:
Simon Lübeß
2022-04-12 14:32:00 +02:00
parent 863c264001
commit 9105c12e33
3 changed files with 12 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
@if not defined _echo echo off
for /f "usebackq tokens=*" %%i in (`vswhere.exe -latest -products * -requires Microsoft.VisualStudio.Component.VC.CMake.Project -property installationPath`) do (
if exist "%%i\VC\Auxiliary\Build\vcvarsall.bat" (
"%%i\VC\Auxiliary\Build\vcvarsall.bat" %1
cd /D %2
cmake --preset %3
)
)