aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/125 configure file in generator/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/125 configure file in generator/src/meson.build')
-rw-r--r--meson/test cases/common/125 configure file in generator/src/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/common/125 configure file in generator/src/meson.build b/meson/test cases/common/125 configure file in generator/src/meson.build
new file mode 100644
index 000000000..2fb804eec
--- /dev/null
+++ b/meson/test cases/common/125 configure file in generator/src/meson.build
@@ -0,0 +1,7 @@
+compiler = find_program('gen.py')
+gen = generator(compiler,
+ output: '@BASENAME@.h',
+ arguments : ['@INPUT@', '@OUTPUT@'])
+hs = gen.process(cfile, files('source'))
+
+executable('proggie', 'main.c', hs)