aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/231 subdir files
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/231 subdir files')
-rw-r--r--meson/test cases/common/231 subdir files/meson.build3
-rw-r--r--meson/test cases/common/231 subdir files/subdir/meson.build1
-rw-r--r--meson/test cases/common/231 subdir files/subdir/prog.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/meson/test cases/common/231 subdir files/meson.build b/meson/test cases/common/231 subdir files/meson.build
new file mode 100644
index 000000000..eb472f39e
--- /dev/null
+++ b/meson/test cases/common/231 subdir files/meson.build
@@ -0,0 +1,3 @@
+project('subdir files test', 'c')
+subdir('subdir')
+executable('prog', sources: subdir_sources)
diff --git a/meson/test cases/common/231 subdir files/subdir/meson.build b/meson/test cases/common/231 subdir files/subdir/meson.build
new file mode 100644
index 000000000..70909c72f
--- /dev/null
+++ b/meson/test cases/common/231 subdir files/subdir/meson.build
@@ -0,0 +1 @@
+subdir_sources = files(['prog.c'])
diff --git a/meson/test cases/common/231 subdir files/subdir/prog.c b/meson/test cases/common/231 subdir files/subdir/prog.c
new file mode 100644
index 000000000..78f2de106
--- /dev/null
+++ b/meson/test cases/common/231 subdir files/subdir/prog.c
@@ -0,0 +1 @@
+int main(void) { return 0; }