microsoft / DirectXTK

The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++
https://walbourn.github.io/directxtk/
MIT License
2.55k stars 506 forks source link

Could I install DirectXTK without UWP Tools and ARM VC++ Libraries? #102

Closed LYP951018 closed 7 years ago

LYP951018 commented 7 years ago

I only write desktop programs and I don't want to install them.... (I mean the DirecXTK vsix)

walbourn commented 7 years ago

There's no particular requirement for DirectXTK to need these tools if you are targeting Win32 desktop. I suspect you are actually talking about the directx-vs-templates VSIX package for VS 2017 which does require these. The templates in the VSIX (including the Win32 desktop versions) make use of a class wizard that is part of the UWP tooling, and they default to using Windows 10 SDKs. That means with VS 2015 you have to include the "Windows Tools for UWP", and for VS 2017 you must have the UWP workload for any of the templates to work.

The VS 2017 package requires the C++ core tools, the UWP tools, the UWP C++ tools, and the ARM compilers because you have to include the 'union' of the requirements. I could remove the ARM compiler requirement, but that could easily result in UWP developers missing components. Is there some reason you are lacking in disk space?