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.49k stars 396 forks source link

CMake updated to support building for GameInput/Xbox #157

Closed walbourn closed 1 year ago

walbourn commented 1 year ago

This adds CMake support for building for Xbox Series X|S or Xbox One via the Microsoft GDK with Xbox Extensions gaming command prompts.

This PR adds CMake support for building for PC with GameInput from the Microsoft GDK gaming command prompt.

Also added some conformance switches for VS 2022 17.5 and when building with WPO/LTCG via CMake.

CompileShaders was tweaked to use the native version of FXC/DXC for the host platform.