diff options
Diffstat (limited to 'meson/test cases/common/169 source in dep/generated/meson.build')
-rw-r--r-- | meson/test cases/common/169 source in dep/generated/meson.build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meson/test cases/common/169 source in dep/generated/meson.build b/meson/test cases/common/169 source in dep/generated/meson.build new file mode 100644 index 000000000..286270901 --- /dev/null +++ b/meson/test cases/common/169 source in dep/generated/meson.build @@ -0,0 +1,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) |