How to make xmake build all targets except for a specific target? #4072
-
I want to ask xmake to build every targets except for one specific target. How to implement this? I konw |
Beta Was this translation helpful? Give feedback.
Answered by
star-hengxing
Aug 13, 2023
Replies: 1 comment 1 reply
-
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 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Oyyko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
or