summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-22 15:12:44 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-22 15:12:44 +1000
commit51d0535a8d49b72ab1e47acf30f654403a94c423 (patch)
treec8e8124c7a35c2fcfa7afa857b50ce0cdb15ba7c /xmake.lua
parent6fccac3372170153b59e829d11c6c0b0a5c2bc77 (diff)
wip: porting shadowmaps to RAL
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")