XMake: simplifies option syntax

This commit is contained in:
SirLynix
2022-10-10 08:49:52 +02:00
parent 364d1bafb4
commit 0a8048809c
6 changed files with 11 additions and 65 deletions

View File

@@ -1,9 +1,4 @@
option("tests")
set_default(false)
set_showmenu(true)
set_description("Build unit tests")
option_end()
option("tests", { description = "Build unit tests", default = false })
if has_config("tests") then
if is_mode("asan") then