Skip to content

Commit aed1aad

Browse files
authored
Add support for using CMake's VS 2026 generator (#120580)
Fixes #120578 Requires CMake 4.2.0 to actually work (which hasn't released yet).
1 parent 0bac0d5 commit aed1aad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eng/native/gen-buildsys.cmd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ if /i "%__Ninja%" == "1" (
3838
set __CmakeGenerator=Ninja
3939
) else (
4040
if /i NOT "%__Arch%" == "wasm" (
41+
if /i "%__VSVersion%" == "18.0" (set __CmakeGenerator=%__CmakeGenerator% 18 2026)
4142
if /i "%__VSVersion%" == "17.0" (set __CmakeGenerator=%__CmakeGenerator% 17 2022)
4243

4344
if /i "%__Arch%" == "x64" (set __ExtraCmakeParams=%__ExtraCmakeParams% -A x64)

0 commit comments

Comments
 (0)