summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
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")