From 0e90cd81b31baafe039508a5d7b24aec281887ab Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Fri, 6 Feb 2026 15:05:17 +0000 Subject: [PATCH] vs-cfg.cmd - add support for Visual Studio 18 2026 --- win/vs-cfg.cmd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/win/vs-cfg.cmd b/win/vs-cfg.cmd index a5720c48f0..8df7c41b27 100644 --- a/win/vs-cfg.cmd +++ b/win/vs-cfg.cmd @@ -46,7 +46,8 @@ set GENERATORS[2]="Visual Studio 14 2015" set GENERATORS[3]="Visual Studio 15 2017" set GENERATORS[4]="Visual Studio 16 2019" set GENERATORS[5]="Visual Studio 17 2022" -set LAST_GENERATOR_IDX=5 +set GENERATORS[6]="Visual Studio 18 2026" +set LAST_GENERATOR_IDX=6 :: Is generator shorthand used? set GEN_SHORTHAND=!GENERATOR:vs=! @@ -160,6 +161,7 @@ IF %VS_VER%==2015 ( set "VC_VER=14.0" ) IF %VS_VER%==2017 ( set "VC_VER=14.1" ) IF %VS_VER%==2019 ( set "VC_VER=14.2" ) IF %VS_VER%==2022 ( set "VC_VER=14.3" ) +IF %VS_VER%==2026 ( set "VC_VER=14.5" ) :: determine the argument for Boost bootstrap set BOOST_BOOTSTRAP_VER=vc%VC_VER%