summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
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 179e14f..335e751 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -106,6 +106,7 @@ target("core_config")
add_includedirs("deps/stb_image", {public = true})
add_includedirs("deps/stb_image_write", {public = true})
add_includedirs("deps/stb_truetype", {public = true})
+ add_includedirs("include/", {public = true})
add_includedirs("src/", {public = true})
-- add_includedirs("src/logos/", {public = true})
add_includedirs("src/maths/", {public = true})
@@ -237,6 +238,13 @@ target("pbr_textured")
add_files("examples/pbr_textured/ex_pbr_textured.c")
set_rundir("$(projectdir)")
+target("shadows")
+ set_kind("binary")
+ set_group("examples")
+ add_deps("core_static")
+ add_files("examples/shadow_maps/ex_shadow_maps.c")
+ set_rundir("$(projectdir)")
+
-- target("transforms")
-- set_kind("binary")
-- set_group("examples")