Skip to content

how to specify multiple c_arg #12619

Answered by dcbaker
jianhe-fun asked this question in Q&A
Discussion options

You must be logged in to vote

Usually it's sufficient to just do -Dc_args='-Wunused-variable -Wunintialized -Wreturn-type' and meson will split that on the whitespace, if you get into situations where you need to escape white space in arguments you can pass a quoted meson array: -Dc_args="['-A with spaces', '-Wunused-variable']"

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jianhe-fun
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