aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/130 include order/ctsub/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/130 include order/ctsub/meson.build')
-rw-r--r--meson/test cases/common/130 include order/ctsub/meson.build9
1 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/common/130 include order/ctsub/meson.build b/meson/test cases/common/130 include order/ctsub/meson.build
new file mode 100644
index 000000000..a242e0764
--- /dev/null
+++ b/meson/test cases/common/130 include order/ctsub/meson.build
@@ -0,0 +1,9 @@
+# https://github.com/mesonbuild/meson/pull/2291
+copy = find_program('copyfile.py')
+configure_file(input : 'main.h',
+ output : 'main.h',
+ command : [copy, '@INPUT@', '@OUTPUT@'])
+ctfile = custom_target('emptyfile',
+ input : 'emptyfile.c',
+ output : 'emptyfile.c',
+ command : [copy, '@INPUT@', '@OUTPUT@'])