xmake-options
Installation
SKILL.md
Xmake Options
Options are user-facing switches that can be set via xmake f --name=value and queried from targets and conditions.
Declaring an option
option("enable_foo")
set_default(false)
set_showmenu(true)
set_description("Enable the foo subsystem")
option_end()
set_showmenu(true) makes the option visible in xmake f --menu and xmake f --help.