mirror of https://github.com/yaz0r/FITD.git
Remove old vs2019 build script
This commit is contained in:
parent
402ba78824
commit
c9c5077ebd
|
@ -1,23 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
SETLOCAL EnableDelayedExpansion
|
|
||||||
|
|
||||||
if not exist "%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" (
|
|
||||||
echo "WARNING: You need VS 2017 version 15.2 or later (for vswhere.exe)"
|
|
||||||
)
|
|
||||||
|
|
||||||
for /f "usebackq tokens=*" %%i in (`"%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe" -version 16.0 -property installationPath`) do (
|
|
||||||
set InstallDir=%%i
|
|
||||||
)
|
|
||||||
|
|
||||||
if exist "!InstallDir!\VC\Auxiliary\Build\vcvars64.bat" (
|
|
||||||
call "!InstallDir!\VC\Auxiliary\Build\vcvars64.bat"
|
|
||||||
) else (
|
|
||||||
echo "Could not find !InstallDir!\VC\Auxiliary\Build\vcvars64.bat"
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir vs2019
|
|
||||||
cd vs2019
|
|
||||||
cmake -G "Visual Studio 16 2019" -A x64 ..\..\
|
|
||||||
|
|
||||||
pause
|
|
Loading…
Reference in New Issue