You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, DirectXTK supported clang-cl in visual studio, using CMake with CMakePresets.json. Now, the project can't be generated due to a missing symbol (DIRECTX_ARCH).
This error is caused by DIRECTX_ARCH not being set. When debugging why, I saw that with the Clang configuration, both CMAKE_GENERATOR_PLATFORM and CMAKE_VS_PLATFORM_NAME_DEFAULT seem to be blank. This regression was introduced when the code coverage change was added a month ago (270d2e7). Using a prior commit allows the project to be generated.
The text was updated successfully, but these errors were encountered:
Summary
Previously, DirectXTK supported clang-cl in visual studio, using CMake with CMakePresets.json. Now, the project can't be generated due to a missing symbol (
DIRECTX_ARCH
).Setup
Folder Structure
CMakePresets.json
CMakeLists.txt
Repro
Tools > Options > CMake > General >CMake configuration file: > Always use CMake Presets
)Open a local folder
repro_folder
Error message
Misc
This error is caused by
DIRECTX_ARCH
not being set. When debugging why, I saw that with theClang
configuration, bothCMAKE_GENERATOR_PLATFORM
andCMAKE_VS_PLATFORM_NAME_DEFAULT
seem to be blank. This regression was introduced when the code coverage change was added a month ago (270d2e7). Using a prior commit allows the project to be generated.The text was updated successfully, but these errors were encountered: