The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
12 years ago
|
project('pipeline test', 'c')
|
||
|
|
||
|
e1 = executable('srcgen', 'srcgen.c')
|
||
12 years ago
|
|
||
|
gen = generator(e1, \
|
||
12 years ago
|
output_name : '@BASENAME@.c', # Line continuation inside arguments should work without needing a "\".
|
||
|
arguments : ['@INPUT@', '@OUTPUT@'])
|
||
12 years ago
|
|
||
|
generated = gen.process('input_src.dat')
|
||
|
|
||
12 years ago
|
e2 = executable('prog', 'prog.c', generated)
|
||
12 years ago
|
|
||
|
add_test('pipelined', e2)
|