[CONFIGURE] Add support for latest MSVC toolchain (#1940)

This commit is contained in:
William Kent 2019-09-26 17:49:52 -04:00 committed by Hermès BÉLUSCA - MAÏTO
parent acaff47682
commit bf8dda4c91

View file

@ -64,6 +64,7 @@ if defined ROS_ARCH (
cl 2>&1 | find "19.20." > NUL && set VS_VERSION=16
cl 2>&1 | find "19.21." > NUL && set VS_VERSION=16
cl 2>&1 | find "19.22." > NUL && set VS_VERSION=16
cl 2>&1 | find "19.23." > NUL && set VS_VERSION=16
if not defined VS_VERSION (
echo Error: Visual Studio version too old ^(before 10 ^(2010^)^) or version detection failed.
goto quit