diff options
Diffstat (limited to 'meson/test cases/common/54 custom target source output/meson.build')
-rw-r--r-- | meson/test cases/common/54 custom target source output/meson.build | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/54 custom target source output/meson.build b/meson/test cases/common/54 custom target source output/meson.build new file mode 100644 index 000000000..f9d039df0 --- /dev/null +++ b/meson/test cases/common/54 custom target source output/meson.build @@ -0,0 +1,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) |