aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/169 source in dep/generated/meson.build
blob: 28627090108a1b67d72b77c42599e114b4b8b332 (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)