aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/231 subdir files
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/common/231 subdir files
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
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; }