Skip to content
Discussion options

You must be logged in to vote

哦我知道了,需要通过 -- 派发参数,必须是:

xmake mybuild -- -v arg1 arg2

此时 vs 类型的多值参数才能接收到 { "-v", "arg1", "arg2"} 这三个参数而不会把 -v 丢掉。

Replies: 1 comment 1 reply

Comment options

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

Answer selected by githubnotebooks
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