From d25c392cec57e8c561899bf75668da79c4e67aed Mon Sep 17 00:00:00 2001 From: Chuyan Zhang Date: Wed, 9 Oct 2024 22:11:24 -0700 Subject: add shader compile infra --- xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmake.lua') diff --git a/xmake.lua b/xmake.lua index eb1d750..41b1d0e 100644 --- a/xmake.lua +++ b/xmake.lua @@ -1,5 +1,6 @@ add_rules("mode.debug", "mode.release") -- add_requires("vulkansdk", "glfw", "fmt", "vulkan-memory-allocator", "spdlog", "glm") +add_requires("shaderc") -- Project settings set_project("iris_renderer") @@ -70,7 +71,7 @@ target("iris_renderer") add_deps("argparse", "imgui", "tinygltf", "tinyobjloader", "stb", "glm") -- Add libraries - add_packages("vulkansdk", "glfw", "fmt", "vulkan-memory-allocator", "spdlog", "glm") + add_packages("vulkansdk", "glfw", "fmt", "vulkan-memory-allocator", "spdlog", "glm", "shaderc") -- OS-specific libraries (dl, pthread, X11, etc.) if is_plat("linux") then -- cgit v1.2.3-70-g09d2