project('pipeline test', 'c')
e1 = executable('srcgen', 'srcgen.c')
gen = generator(e1,
outputs : '@BASENAME@.h',
arguments : ['@INPUT@', '@OUTPUT@'])
generated = gen.process('input_src.dat')
e2 = executable('prog', 'prog.c', generated)
add_test('pipelined', e2)