From 9ceabceb50e8c9a047a90579360e7b796d173b2a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 06:21:57 +0000 Subject: [PATCH 1/3] Initial plan From 4f09ee5e948f4102070f1e323640a5f8f04de993 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 06:25:30 +0000 Subject: [PATCH 2/3] Add support for Visual Studio 18 2026 build Co-authored-by: xiaofeihan1 <107654914+xiaofeihan1@users.noreply.github.com> --- build.py | 1 + cmake/presets/CMakeWinConfigPresets.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build.py b/build.py index 7517a01915..8f3d4c3824 100644 --- a/build.py +++ b/build.py @@ -106,6 +106,7 @@ class HelpFormatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescript "NMake Makefiles", "Unix Makefiles", "Visual Studio 17 2022", + "Visual Studio 18 2026", "Xcode", ], default=("Visual Studio 17 2022" if util.is_windows() else "Unix Makefiles"), diff --git a/cmake/presets/CMakeWinConfigPresets.json b/cmake/presets/CMakeWinConfigPresets.json index 0070f23c39..1d340fdfea 100644 --- a/cmake/presets/CMakeWinConfigPresets.json +++ b/cmake/presets/CMakeWinConfigPresets.json @@ -3,7 +3,7 @@ "configurePresets": [ { "name": "windows_cpu_default", - "generator": "Visual Studio 17 2022", + "generator": "Visual Studio 18 2026", "architecture": "x64", "cacheVariables": { "CMAKE_EXE_LINKER_FLAGS_INIT": "/profile /DYNAMICBASE", From e2eb9f853954067e17e5c9c384c506445d9b8f66 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 11 Mar 2026 06:32:03 +0000 Subject: [PATCH 3/3] Revert CMakeWinConfigPresets.json change, keep VS 2022 as default Co-authored-by: xiaofeihan1 <107654914+xiaofeihan1@users.noreply.github.com> --- cmake/presets/CMakeWinConfigPresets.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/presets/CMakeWinConfigPresets.json b/cmake/presets/CMakeWinConfigPresets.json index 1d340fdfea..0070f23c39 100644 --- a/cmake/presets/CMakeWinConfigPresets.json +++ b/cmake/presets/CMakeWinConfigPresets.json @@ -3,7 +3,7 @@ "configurePresets": [ { "name": "windows_cpu_default", - "generator": "Visual Studio 18 2026", + "generator": "Visual Studio 17 2022", "architecture": "x64", "cacheVariables": { "CMAKE_EXE_LINKER_FLAGS_INIT": "/profile /DYNAMICBASE",