walbourn / directx-vs-templates

Direct3D Visual Studio Templates
https://walbourn.github.io/direct3d-game-visual-studio-templates-redux/
MIT License
412 stars 56 forks source link

Fix CMake problem with /Zc:templateScope on older Windows SDKs #71

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

When building with CMake and VS 2022 Update 5 or later, I make use of /Zc:templateScope for conformance validation. This is, however, not compatible with the Windows SDK prior to the Windows SDK (22000) build.