parent
d61529caf0
commit
01f8a1455e
6 changed files with 19 additions and 15 deletions
@ -1,14 +1,5 @@ |
||||
project('pipeline test', 'c') |
||||
|
||||
e1 = executable('srcgen', 'srcgen.c', native : true) |
||||
|
||||
# Generate a header file that needs to be included. |
||||
gen = generator(e1, |
||||
output : '@BASENAME@.h', |
||||
arguments : ['@INPUT@', '@OUTPUT@']) |
||||
|
||||
generated = gen.process('input_src.dat') |
||||
|
||||
e2 = executable('prog', 'prog.c', generated) |
||||
|
||||
test('pipelined', e2) |
||||
# This is in a subdirectory to make sure |
||||
# we write proper subdir paths to output. |
||||
subdir('src') |
||||
|
@ -0,0 +1,12 @@ |
||||
e1 = executable('srcgen', 'srcgen.c', native : true) |
||||
|
||||
# Generate a header file that needs to be included. |
||||
gen = generator(e1, |
||||
output : '@BASENAME@.h', |
||||
arguments : ['@INPUT@', '@OUTPUT@']) |
||||
|
||||
generated = gen.process('input_src.dat') |
||||
|
||||
e2 = executable('prog', 'prog.c', generated) |
||||
|
||||
test('pipelined', e2) |
Loading…
Reference in new issue