[REACTOS] Drop support for Visual Studio below 2015

This commit is contained in:
Victor Perevertkin
2020-05-04 21:47:37 +03:00
parent 95483b42ea
commit 156b3bd014
3 changed files with 7 additions and 12 deletions
+1 -4
View File
@@ -50,14 +50,11 @@ if defined ROS_ARCH (
cl 2>&1 | find "x86" > NUL && set ARCH=i386
cl 2>&1 | find "x64" > NUL && set ARCH=amd64
cl 2>&1 | find "ARM" > NUL && set ARCH=arm
cl 2>&1 | find "16.00." > NUL && set VS_VERSION=10
cl 2>&1 | find "17.00." > NUL && set VS_VERSION=11
cl 2>&1 | find "18.00." > NUL && set VS_VERSION=12
cl 2>&1 | find "19.00." > NUL && set VS_VERSION=14
cl 2>&1 | findstr /R /c:"19\.1.\." > NUL && set VS_VERSION=15
cl 2>&1 | findstr /R /c:"19\.2.\." > NUL && set VS_VERSION=16
if not defined VS_VERSION (
echo Error: Visual Studio version too old ^(before 10 ^(2010^)^) or version detection failed.
echo Error: Visual Studio version too old ^(before 14 ^(2015^)^) or version detection failed.
goto quit
)
set BUILD_ENVIRONMENT=VS