Skip to content
Discussion options

You must be logged in to vote
option("for_A")
    set_default(false)
    set_showmenu(true)
option_end()

target("A")
    set_enabled(has_config("for_A"))

or

target("A")
    set_group("group1")

target("B")
    set_group("group2")

target("C")
    set_group("group2")

-- xmake build -g group2

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Oyyko
Comment options

Answer selected by Oyyko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants