summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorChuyan Zhang <chuyan@ucsb.edu>2024-10-09 22:11:24 -0700
committerChuyan Zhang <chuyan@ucsb.edu>2024-10-09 22:11:24 -0700
commitd25c392cec57e8c561899bf75668da79c4e67aed (patch)
tree4289461c83345024a5a1b93295043d61d4acd246 /xmake.lua
parent60b9692af28a353c4e5813d1723422477e31f433 (diff)
downloadiris-d25c392cec57e8c561899bf75668da79c4e67aed.tar.gz
iris-d25c392cec57e8c561899bf75668da79c4e67aed.zip
add shader compile infra
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua3
1 files changed, 2 insertions, 1 deletions
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