aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/155 subproject dir name collision/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/155 subproject dir name collision/meson.build')
-rw-r--r--meson/test cases/common/155 subproject dir name collision/meson.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/meson/test cases/common/155 subproject dir name collision/meson.build b/meson/test cases/common/155 subproject dir name collision/meson.build
new file mode 100644
index 000000000..55312175e
--- /dev/null
+++ b/meson/test cases/common/155 subproject dir name collision/meson.build
@@ -0,0 +1,12 @@
+project('A', 'c', subproject_dir:'custom_subproject_dir')
+
+B = subproject('B')
+b = B.get_variable('b')
+
+C = subproject('C')
+c = C.get_variable('c')
+
+subdir('other_subdir')
+
+a = executable('a', 'a.c', link_with : [b, c])
+test('a test', a)