aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/125 configure file in generator/inc
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/125 configure file in generator/inc')
-rw-r--r--meson/test cases/common/125 configure file in generator/inc/confdata.in1
-rw-r--r--meson/test cases/common/125 configure file in generator/inc/meson.build6
2 files changed, 7 insertions, 0 deletions
diff --git a/meson/test cases/common/125 configure file in generator/inc/confdata.in b/meson/test cases/common/125 configure file in generator/inc/confdata.in
new file mode 100644
index 000000000..e44cdea20
--- /dev/null
+++ b/meson/test cases/common/125 configure file in generator/inc/confdata.in
@@ -0,0 +1 @@
+@VALUE@
diff --git a/meson/test cases/common/125 configure file in generator/inc/meson.build b/meson/test cases/common/125 configure file in generator/inc/meson.build
new file mode 100644
index 000000000..05d2dcb8a
--- /dev/null
+++ b/meson/test cases/common/125 configure file in generator/inc/meson.build
@@ -0,0 +1,6 @@
+cdata = configuration_data()
+cdata.set('VALUE', '42')
+
+cfile = configure_file(input : 'confdata.in',
+output : 'confdata',
+configuration : cdata)