summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 11:25:48 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-04-27 11:25:48 +1000
commit8dae0a94059bd21a5a10e4434cadc843126d8b05 (patch)
treed8d110e0a4a2a03e1e9d6c3b7a2dbf53a9d9e858 /xmake.lua
parent7a8d93d2b867cab853ecf8c4ec5061cdc5cab665 (diff)
parentf8375e4587612d6a582eb053be5a67694a59993d (diff)
Merge branch 'brainstorming-systems' into ral
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 075cee7..8f2603e 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -90,6 +90,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})
@@ -153,6 +154,20 @@ target("input")
add_files("examples/input/ex_input.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")
+ add_deps("core_shared")
+ add_files("examples/transforms/ex_transforms.c")
+ set_rundir("$(projectdir)")
+
target("demo")
set_kind("binary")
set_group("examples")