VS: The MASM change added in 3.26.x breaks VS ARM64 build
You can get a reproducible example from #21462 . Try it on a Windows ARM64 machine with Visual Studio 2022 ARM64 version. To get VS 2022 ARM64 version, just install it normally. The ARM64 version and x86 version share the same installer. Then build the sample. cmake 3.25.x works fine, while cmake 3.26.x does not. Error message with cmake 3.26:
2>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VC\v170\BuildCustomizations\masm.targets(70,5): error MSB3721: The command "echo MASM not supported on this platform
I also submitted an issue to VS: https://developercommunity.visualstudio.com/t/Does-Visual-Studio-Windows-ARM64-version/10331301?viewtype=all . I'm not sure it is a limitation of cmake or VS, but definitely this is a breaking change for cmake.
Edited by Brad King