Add support for latest VS2017 (15.0) compiler (#1050)

Latest VS 2017 CL.EXE compiler (version 19.16...) wasn't being correctly detected by the configure.cmd script.
This commit is contained in:
William Kent 2018-11-19 11:34:08 -05:00 committed by Hermès BÉLUSCA - MAÏTO
parent 154ed37062
commit f6f1255cf7

View file

@ -72,6 +72,7 @@ if defined ROS_ARCH (
cl 2>&1 | find "19.13." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.14." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.15." > NUL && set VS_VERSION=15
cl 2>&1 | find "19.16." > NUL && set VS_VERSION=15
if not defined VS_VERSION (
echo Error: Visual Studio version too old ^(before 10 ^(2010^)^) or version detection failed.
goto quit