summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 8bbf934..63b3d9c 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -58,6 +58,7 @@ local core_sources = {
"src/platform/*.c",
"src/renderer/*.c",
"src/renderer/backends/*.c",
+ "src/renderer/cleanroom/*.c",
"src/resources/*.c",
"src/std/*.c",
"src/std/containers/*.c",
@@ -101,6 +102,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/renderer/cleanroom/", {public = true})
add_includedirs("src/resources/", {public = true})
add_includedirs("src/std/", {public = true})
add_includedirs("src/std/containers", {public = true})
@@ -145,6 +147,13 @@ target("obj")
add_files("examples/obj_loading/ex_obj_loading.c")
set_rundir("$(projectdir)")
+target("input")
+ set_kind("binary")
+ set_group("examples")
+ add_deps("core_static")
+ add_files("examples/input/ex_input.c")
+ set_rundir("$(projectdir)")
+
target("gltf")
set_kind("binary")
set_group("examples")