summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua18
1 files changed, 17 insertions, 1 deletions
diff --git a/xmake.lua b/xmake.lua
index e6b77c2..450b97d 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -60,6 +60,7 @@ target("core_config")
add_includedirs("src/platform/", {public = true})
add_includedirs("src/renderer/", {public = true})
add_includedirs("src/renderer/backends/", {public = true})
+ add_includedirs("src/resources/", {public = true})
add_includedirs("src/std/", {public = true})
add_includedirs("src/std/containers", {public = true})
add_includedirs("src/systems/", {public = true})
@@ -69,6 +70,7 @@ target("core_config")
add_files("src/platform/*.c")
add_files("src/renderer/*.c")
add_files("src/renderer/backends/*.c")
+ add_files("src/resources/*.c")
add_files("src/std/*.c")
add_files("src/std/containers/*.c")
add_files("src/systems/*.c")
@@ -94,4 +96,18 @@ target("std")
set_group("examples")
add_deps("core_static")
add_files("examples/standard_lib/ex_std.c")
- set_rundir("$(projectdir)") \ No newline at end of file
+ set_rundir("$(projectdir)")
+
+target("obj_loading")
+ set_kind("binary")
+ set_group("examples")
+ add_deps("core_static")
+ add_files("examples/obj_loading/ex_obj_loading.c")
+ set_rundir("$(projectdir)")
+
+target("demo")
+ set_kind("binary")
+ set_group("examples")
+ add_deps("core_static")
+ add_files("examples/demo/demo.c")
+ set_rundir("$(projectdir)")