aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/common/98 subproject subdir/subprojects/sub_implicit/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/common/98 subproject subdir/subprojects/sub_implicit/meson.build')
-rw-r--r--meson/test cases/common/98 subproject subdir/subprojects/sub_implicit/meson.build13
1 files changed, 13 insertions, 0 deletions
diff --git a/meson/test cases/common/98 subproject subdir/subprojects/sub_implicit/meson.build b/meson/test cases/common/98 subproject subdir/subprojects/sub_implicit/meson.build
new file mode 100644
index 000000000..9f436042f
--- /dev/null
+++ b/meson/test cases/common/98 subproject subdir/subprojects/sub_implicit/meson.build
@@ -0,0 +1,13 @@
+project('sub_implicit', 'c', version : '1.0')
+
+dep = declare_dependency()
+meson.override_dependency('sub_implicit', dep)
+meson.override_dependency('sub_implicit_provide1', dep)
+
+# This one is not overridden but the wrap file tells the variable name to use.
+sub_implicit_provide2_dep = dep
+
+# This one is not overridden but the wrap file tells the variable name to use.
+glib_dep = dep
+
+assert(get_option('opt') == 'overriden') \ No newline at end of file