Skip to content

Enable VS 2026 solution generation and improve ARM64 developer experience#14283

Merged
benhillis merged 1 commit intomasterfrom
user/benhill/vs2026_and_arm64
Feb 26, 2026
Merged

Enable VS 2026 solution generation and improve ARM64 developer experience#14283
benhillis merged 1 commit intomasterfrom
user/benhill/vs2026_and_arm64

Conversation

@benhillis
Copy link
Copy Markdown
Member

@benhillis benhillis commented Feb 25, 2026

  • Auto-detect host architecture when TARGET_PLATFORM and CMAKE_GENERATOR_PLATFORM are unset, defaulting to ARM64 on ARM64 hosts
  • Fix trailing '|' in platform regex that made the else branch unreachable
  • Refactor Visual Studio detection to prefer VS2022 and fall back to VS2026 with a clang-format warning
  • Document x64 .NET 6.0 runtime setup required for WiX on ARM64

…ence

- Auto-detect host architecture when TARGET_PLATFORM and CMAKE_GENERATOR_PLATFORM are unset, defaulting to ARM64 on ARM64 hosts
- Fix trailing '|' in platform regex that made the else branch unreachable
- Refactor Visual Studio detection to prefer VS2022 and fall back to VS2026 with a clang-format warning- Document x64 .NET 6.0 runtime setup required for WiX on ARM64
Comment thread CMakeLists.txt
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Enables better Visual Studio solution generation across VS2022/VS2026 while improving ARM64 Windows developer setup and documentation.

Changes:

  • Default TARGET_PLATFORM based on host architecture when no platform is specified.
  • Fix platform matching logic and refactor Visual Studio (vswhere) detection with a VS2022→VS2026 fallback warning.
  • Document ARM64 Windows requirement to install x64 .NET 6 runtime for WiX.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
doc/docs/dev-loop.md Adds ARM64-specific guidance for installing x64 .NET 6 runtime needed by WiX.
CMakeLists.txt Adds host-arch defaulting, fixes regex, and refactors VS detection to support VS2022/VS2026.

Comment thread CMakeLists.txt
Comment thread CMakeLists.txt
Comment thread doc/docs/dev-loop.md
@benhillis benhillis merged commit 2856dc3 into master Feb 26, 2026
10 checks passed
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.

3 participants