blob: f9d039df0cb13dde17b0b9818c3a1f18c38c42b5 (
plain)
1
2
3
4
5
6
7
8
9
|
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)
|