summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorChuyan Zhang <me@zcy.moe>2024-10-04 22:43:11 -0700
committerChuyan Zhang <me@zcy.moe>2024-10-04 22:43:11 -0700
commit1866dd531dffc4084dfaf261591bc7ac2a376d67 (patch)
tree55e6cbe7b54fc24fb80463f337a86089ef8b9bc3 /xmake.lua
parentd116dfacb8dc50ad9fb98d67d084d901ae95e456 (diff)
downloadiris-1866dd531dffc4084dfaf261591bc7ac2a376d67.tar.gz
iris-1866dd531dffc4084dfaf261591bc7ac2a376d67.zip
add basic gltf loader
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index 1171462..e634221 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -57,13 +57,17 @@ target("stb")
set_kind("headeronly")
add_includedirs(path.join(ext_dir, "stb"), {public = true})
+target("glm")
+ set_kind("headeronly")
+ add_includedirs(path.join(ext_dir, "glm"), {public = true})
+
-- Main executable target
target("iris_renderer")
set_kind("binary")
add_files(path.join(src_dir, "**.cpp"))
-- Link external libraries
- add_deps("argparse", "imgui", "tinygltf", "tinyobjloader", "stb")
+ add_deps("argparse", "imgui", "tinygltf", "tinyobjloader", "stb", "glm")
-- Add libraries
add_packages("vulkansdk", "glfw", "fmt", "vulkan-memory-allocator", "spdlog", "glm")