microsoft / DirectXTK

The DirectX Tool Kit (aka DirectXTK) is a collection of helper classes for writing DirectX 11.x code in C++

Home Page:https://walbourn.github.io/directxtk/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supporting generating shader .incs into a non-source directory

walbourn opened this issue · comments

vcpkg wants me to start generating the shaders into the 'binary' directory which currently doesn't work with my source or vcxproj files. This is needed to support their new vcpkg build tooling.

I should look at changing the includes from long paths like #include "Shaders/Compiled/XboxOneAlphaTestEffect_VSAlphaTest.inc" to something like XboxOneAlphaTestEffect_VSAlphaTest.inc and add the appropriate Shaders/Compiled/ to the Include directories.

Same issue for directxtk12 and directxtex