Direct3D Game Visual Studio templates (VCPKG edition)
direct3d, visualc, vcpkg-
Over the past few years, I’ve been working more with the vcpkg Package Manager, including support for all my GitHub projects, development of xbox community triplets, and adopting VCPKG for a number of game develompent workflows. In doing so, I’ve found the “vcpkg manifest mode” feature greatly simplifies integration for projects. I have therefore released a number of new Visual Studio Project templates.
The directx-vs-templates project hosts most of my templates with two new templates in the latest release: d3d11game_vcpkg and d3d12game_vcpkg. The VSIX package there lets you create MSBuild projects, and there are PowerShell scripts and files available for generating CMake versions. For more information, see the wiki.
In addition, there is now an official Microsoft GDK template that uses vcpkg available on Visual Studio Marketplace. This includes both a MSBuild and a CMake version using the ms-gdk vcpkg port so you don’t need to install the Microsoft GDK to build against it. The README.md
includes a quick tutorial on adding the directxtk12 port to the project and some basic drawing with Directx Tool Kit for DX12.
I’m working on some new samples to demonstrate building a single project with both the public Microsoft GDK and the NDA Microsoft GDK with Xbox Extensions using VCPKG for various dependancies. I’ll update this blog post with links when they are available later this summer.
See Direct3D Win32 Game Visual Studio template and Direct3D Game Visual Studio templates (Redux)