blob: fade382bcde6a2b79e391af9b4f13cc8ee302d1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
fp = find_program('genheader.py')
genh = custom_target('genh',
input : 'funname',
output : 'funheader.h',
command : [fp, '@INPUT@', '@OUTPUT@'])
dep = declare_dependency(sources : [genh])
e = executable('genuser', 'main.c',
dependencies : dep)
test('genuser', e)
|