From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- meson/test cases/common/58 multiple generators/meson.build | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meson/test cases/common/58 multiple generators/meson.build (limited to 'meson/test cases/common/58 multiple generators/meson.build') 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) -- cgit 1.2.3-korg