microsoft / DirectXTK12

The DirectX Tool Kit (aka DirectXTK12) is a collection of helper classes for writing DirectX 12 code in C++
https://walbourn.github.io/directx-tool-kit-for-directx-12/
MIT License
1.45k stars 369 forks source link

CMake update to use /ZH:SHA_256 for clang v16 or later #170

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

Support for "SHA256" hashing of PDBs is required for SDL compliance, and is supported by VS 2019 or later. Support for this switch was added to clang/LLVM for Windows v16 which is coming in VS 2022 17.6.

Also need a workaround applied for a problem with NuGet 6.6 and NuGetCommand@2 using custom.