summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 11:45:18 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-21 11:45:18 +1000
commitedd6e07841b95c76664e31813bf980742cca4528 (patch)
tree6c3f26e94b4f7f9c5efa6271cbeb0f075d3ccc84 /xmake.lua
parent514d83c9c66330a7f98685aff65a15ff39a562cd (diff)
parent45f035c2174a018444a4e495ec78b4806900d903 (diff)
Merge branch 'master' into cel-41-port-over-a-basic-3d-scene-example
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 2a899dd..453fb55 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -68,6 +68,7 @@ target("core_config")
set_kind("static") -- kind is required but you can ignore it since it's just for common settings
add_syslinks("dl")
add_packages("local_glfw")
+ add_includedirs("deps/cgltf", {public = true})
add_includedirs("deps/glfw-3.3.8/include/GLFW", {public = true})
add_includedirs("deps/glad/include", {public = true})
add_includedirs("deps/stb_image", {public = true})
@@ -118,6 +119,13 @@ target("obj")
add_files("examples/obj_loading/ex_obj_loading.c")
set_rundir("$(projectdir)")
+target("gltf")
+ set_kind("binary")
+ set_group("examples")
+ add_deps("core_static")
+ add_files("examples/gltf_loading/ex_gltf_loading.c")
+ set_rundir("$(projectdir)")
+
target("transforms")
set_kind("binary")
set_group("examples")