CMake support for building legacy Xbox One XDK lib (#342)

This commit is contained in:
Chuck Walbourn
2023-04-27 17:03:18 -07:00
committed by GitHub
parent 9175ac8204
commit 12befe5e16
4 changed files with 62 additions and 21 deletions

View File

@@ -12,6 +12,13 @@
#if defined( __cplusplus )
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wfloat-equal"
#pragma clang diagnostic ignored "-Wunknown-warning-option"
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#endif
struct CD3DX12_DEFAULT {};
extern const DECLSPEC_SELECTANY CD3DX12_DEFAULT D3D12_DEFAULT;
@@ -6457,6 +6464,10 @@ inline HRESULT CD3DX12FeatureSupport::QueryProtectedResourceSessionTypes(UINT No
#undef D3DX12_COM_PTR_GET
#undef D3DX12_COM_PTR_ADDRESSOF
#ifdef __clang__
#pragma clang diagnostic pop
#endif
#endif // defined( __cplusplus )
#endif //__D3DX12_H__