[CONFIGURE] Add support for 'Visual Studio 2022, v17.x'

CORE-17733
This commit is contained in:
Serge Gautherie 2021-11-05 18:24:21 +01:00 committed by Victor Perevertkin
parent 9c4397afdf
commit 8d10682307

View file

@ -54,6 +54,7 @@ if defined ROS_ARCH (
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
cl 2>&1 | findstr /R /c:"19\.3.\." > NUL && set VS_VERSION=17
if not defined VS_VERSION (
echo Error: Visual Studio version too old ^(before 14 ^(2015^)^) or version detection failed.
goto quit