From 7cee8479556d058754f20c33a282ecca0f454f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kenji=20Mouri=20/=20=E6=AF=9B=E5=88=A9=20=E7=A0=94?= =?UTF-8?q?=E4=BA=8C?= Date: Wed, 12 Nov 2025 19:44:51 +0800 Subject: [PATCH] [CONFIGURE] Add support for MSVC 2026 (#8457) Visual Studio 2026 is now generally available, read https://devblogs.microsoft.com/visualstudio/visual-studio-2026-is-here-faster-smarter-and-a-hit-with-early-adopters/ for more information. It seems MSVC 2026 still support setting the subsystem 5.1/5.2, although they remove the Windows 8.1 and earlier support for VCRuntime and STL in MSVC 2026. --- configure.cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.cmd b/configure.cmd index 2049d3dccb1..af4656a468c 100755 --- a/configure.cmd +++ b/configure.cmd @@ -56,6 +56,7 @@ if defined ROS_ARCH ( 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 + cl 2>&1 | findstr /R /c:"19\.5.\." > NUL && set VS_VERSION=18 if not defined VS_VERSION ( echo Error: Visual Studio version too old ^(before 14 ^(2015^)^) or version detection failed. goto quit