From a9d9f0de868104f6c4f1f2a1e55139089bfea329 Mon Sep 17 00:00:00 2001 From: Gleb Surikov Date: Wed, 27 Mar 2024 20:04:18 +0200 Subject: [PATCH] [CONFIGURE] Add support for MSVC Toolset 19.4x (#6677) The MSVC toolset will increment its minor version number from 19.39 (VS 2022 v17.9) to 19.40 (VS 2022 v17.10). The MSVC toolset will be version 19.40.33521.0 in the preview 1 release. For more details, see the MSVC Toolset Minor Version Number 14.40 in VS 2022 v17.10 blog post: https://aka.ms/msvc-ver14.40 --- configure.cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.cmd b/configure.cmd index 32f776a90e0..d94501ab4bc 100755 --- a/configure.cmd +++ b/configure.cmd @@ -55,6 +55,7 @@ if defined ROS_ARCH ( 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 + cl 2>&1 | findstr /R /c:"19\.4.\." > 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