how to specify multiple c_arg #12619
Answered
by
dcbaker
jianhe-fun
asked this question in
Q&A
-
context: https://wiki.postgresql.org/wiki/Meson
will only give me how can I specify '-Wreturn-type' and '-Wuninitialized' and '-Wunused-variable' |
Beta Was this translation helpful? Give feedback.
Answered by
dcbaker
Dec 11, 2023
Replies: 1 comment
-
Usually it's sufficient to just do |
Beta Was this translation helpful? Give feedback.
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
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']"