when a generator used a single @OUTPUT0@ and was processing multiple targets, the variable was replaced with a wrong valuepull/13788/head
parent
e1c09ee25f
commit
83d9b21401
5 changed files with 19 additions and 2 deletions
@ -0,0 +1,6 @@ |
|||||||
|
#check with a single @OUTPUT0@ in a subdirectory and multiple inputs |
||||||
|
gen4 = generator(python, |
||||||
|
output : ['@BASENAME@.o'], |
||||||
|
arguments : [comp, cc, '@INPUT@', '@OUTPUT0@']) |
||||||
|
|
||||||
|
generated4 = gen4.process(files('source5.c', 'source6.c')) |
@ -0,0 +1,3 @@ |
|||||||
|
int func5_in_obj(void) { |
||||||
|
return 0; |
||||||
|
} |
@ -0,0 +1,3 @@ |
|||||||
|
int func6_in_obj(void) { |
||||||
|
return 0; |
||||||
|
} |
Loading…
Reference in new issue