diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/premake5.lua b/premake5.lua index d939400d0..e6c0ea069 100644 --- a/premake5.lua +++ b/premake5.lua @@ -538,6 +538,11 @@ tool "gfx" removefiles { "tools/gfx/circular-resource-heap-d3d12.cpp", "tools/gfx/d3d-util.cpp", "tools/gfx/descriptor-heap-d3d12.cpp", "tools/gfx/render-d3d11.cpp", "tools/gfx/render-d3d12.cpp", "tools/gfx/render-gl.cpp", "tools/gfx/resource-d3d12.cpp", "tools/gfx/render-vk.cpp", "tools/gfx/vk-swap-chain.cpp", "tools/gfx/window.cpp" } end + -- Remove VK from OSX gfx build + if os.target() == "macosx" then + removefiles { "tools/gfx/render-vk.cpp", "tools/gfx/vk-device-queue.cpp", "tools/gfx/vk-api.cpp", "tools/gfx/vk-module.cpp", "tools/gfx/vk-swap-chain.cpp", "tools/gfx/vk-util.cpp" } + end + -- -- The `slangc` command-line application is just a very thin wrapper -- around the Slang dynamic library, so its build is extermely simple. |
