diff options
Diffstat (limited to 'meson/test cases/common/58 multiple generators/meson.build')
-rw-r--r-- | meson/test cases/common/58 multiple generators/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/common/58 multiple generators/meson.build b/meson/test cases/common/58 multiple generators/meson.build new file mode 100644 index 000000000..66f7fa9c1 --- /dev/null +++ b/meson/test cases/common/58 multiple generators/meson.build @@ -0,0 +1,13 @@ +project('trickier generator', 'cpp') + +comp = find_program('mygen.py') +subdir('subdir') + +generated2 = custom_target('generated2', + output : ['source2.h', 'source2.cpp'], + input : 'data2.dat', + command : [comp, '@INPUT0@', '@OUTDIR@']) + +exe = executable('prog', 'main.cpp', generated, generated2, + include_directories : include_directories('subdir')) + test('generated test', exe) |