aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/106 multiple dir configure file/subdir/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/106 multiple dir configure file/subdir/meson.build')
-rw-r--r--meson/test cases/common/106 multiple dir configure file/subdir/meson.build11
1 files changed, 11 insertions, 0 deletions
diff --git a/meson/test cases/common/106 multiple dir configure file/subdir/meson.build b/meson/test cases/common/106 multiple dir configure file/subdir/meson.build
new file mode 100644
index 000000000..503df964a
--- /dev/null
+++ b/meson/test cases/common/106 multiple dir configure file/subdir/meson.build
@@ -0,0 +1,11 @@
+configure_file(input : 'someinput.in',
+ output : 'outputsubdir',
+ install : false,
+ copy: true)
+
+py3 = import('python3').find_python()
+
+cfile1 = configure_file(input : 'foo.txt',
+ output : 'foo.h.in',
+ capture : true,
+ command : [py3, '-c', 'print("#mesondefine FOO_BAR")'])