summaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-25 13:46:34 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-02-25 13:46:34 +1100
commitda13dc8b030b9c0ed4805dca9dab3c280583a91f (patch)
tree6210efb3ce808d3122b16ea699b04d3bd24a3a3c /xmake.lua
parent348161b7ac920ea450becd35685b81e87342d1e5 (diff)
split into two examples
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 3d267dd..e6b77c2 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -87,4 +87,11 @@ target("main_loop")
set_group("examples")
add_deps("core_shared")
add_files("examples/main_loop/ex_main_loop.c")
+ set_rundir("$(projectdir)")
+
+target("std")
+ set_kind("binary")
+ set_group("examples")
+ add_deps("core_static")
+ add_files("examples/standard_lib/ex_std.c")
set_rundir("$(projectdir)") \ No newline at end of file