Skip to content

Support Visual Studio 18 2026 build#2017

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-visual-studio-18-2026-support
Draft

Support Visual Studio 18 2026 build#2017
Copilot wants to merge 3 commits intomainfrom
copilot/add-visual-studio-18-2026-support

Conversation

Copy link
Contributor

Copilot AI commented Mar 11, 2026

Summary

Adds support for building with Visual Studio 18 2026 (CMake generator "Visual Studio 18 2026"). The default generator remains "Visual Studio 17 2022".

Changes

  • build.py: Added "Visual Studio 18 2026" to the --cmake_generator argument choices list, alongside the existing "Visual Studio 17 2022" option. The default remains "Visual Studio 17 2022".

Usage

Using the build script:

python build.py --cmake_generator "Visual Studio 18 2026"

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits March 11, 2026 06:21
Co-authored-by: xiaofeihan1 <107654914+xiaofeihan1@users.noreply.github.com>
@xiaofeihan1
Copy link
Contributor

@copilot I think you don't need to change cmake/presets/CMakeWinConfigPresets.json which might change default behaviro. Only add support vs 2026 but still using 2022 by default

Co-authored-by: xiaofeihan1 <107654914+xiaofeihan1@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 11, 2026

@copilot I think you don't need to change cmake/presets/CMakeWinConfigPresets.json which might change default behaviro. Only add support vs 2026 but still using 2022 by default

Reverted the CMakeWinConfigPresets.json change — VS 2022 remains the default. The only change now is adding "Visual Studio 18 2026" as a choice in build.py. See commit e2eb9f8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants