Allow to disable example building
This commit is contained in:
14
examples/xmake.lua
Normal file
14
examples/xmake.lua
Normal 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
|
||||
Reference in New Issue
Block a user