Currently we don't handle things correctly if we get a string we should split, and the linker and needs compiler arguments. It would result in two unsplit strings in a list, instead of the split arguments in a list Fixes: #83480.57
parent
b4f5550843
commit
a0dc97f8fc
4 changed files with 41 additions and 16 deletions
@ -0,0 +1,11 @@ |
||||
#ifndef FOO |
||||
# error "FOO is not defined" |
||||
#endif |
||||
|
||||
#ifndef BAR |
||||
# error "BAR is not defined" |
||||
#endif |
||||
|
||||
int main(void) { |
||||
return 0; |
||||
} |
@ -0,0 +1,9 @@ |
||||
project('proper args splitting', 'c') |
||||
|
||||
test( |
||||
'main', |
||||
executable( |
||||
'main', |
||||
'main.c', |
||||
) |
||||
) |
@ -0,0 +1,9 @@ |
||||
{ |
||||
"matrix": { |
||||
"options": { |
||||
"c_args": [ |
||||
{ "val": "-DFOO -DBAR" } |
||||
] |
||||
} |
||||
} |
||||
} |
Loading…
Reference in new issue