add example code

This commit is contained in:
SweetId
2022-08-09 21:41:28 +01:00
parent 94e5b8c03b
commit bf2c812867
5 changed files with 111 additions and 1 deletions

9
examples/xmake.lua Normal file
View File

@@ -0,0 +1,9 @@
option("examples")
set_default(false)
set_showmenu(true)
set_description("Build examples")
option_end()
if has_config("examples") then
includes("*/xmake.lua")
end