blob: fade382bcde6a2b79e391af9b4f13cc8ee302d1a [file] [log] [blame]
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)