blob: f9d039df0cb13dde17b0b9818c3a1f18c38c42b5 [file] [log] [blame]
project('source generation', 'c')
ct = custom_target('gen',
output : ['mylib.h', 'mylib.c'],
command : [find_program('generator.py'), '@OUTDIR@'],
)
e = executable('prog', 'main.c', ct)
test('gentest', e)