From 1866dd531dffc4084dfaf261591bc7ac2a376d67 Mon Sep 17 00:00:00 2001 From: Chuyan Zhang Date: Fri, 4 Oct 2024 22:43:11 -0700 Subject: add basic gltf loader --- xmake.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xmake.lua') 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") -- cgit v1.2.3-70-g09d2