Allow to disable example building

This commit is contained in:
SirLynix
2022-07-27 23:02:24 +02:00
parent 057eb1b350
commit d783418a63
15 changed files with 15 additions and 27 deletions

14
examples/xmake.lua Normal file
View File

@@ -0,0 +1,14 @@
option("examples")
set_default(true)
set_showmenu(true)
set_description("Build examples")
option_end()
if has_config("examples") then
-- Common config
set_group("Examples")
set_kind("binary")
includes("*/xmake.lua")
end