Debian Codegraph @

test cases/common/54 custom target source output/meson.build

raw
1 project('source generation', 'c')
2
3 ct = custom_target('gen',
4 output : ['mylib.h', 'mylib.c'],
5 command : [find_program('generator.py'), '@OUTDIR@'],
6 )
7
8 e = executable('prog', 'main.c', ct)
9 test('gentest', e)