aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver')
-rw-r--r--meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/lib.c0
-rw-r--r--meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build9
2 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/lib.c b/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/lib.c
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/lib.c
diff --git a/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build b/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build
new file mode 100644
index 000000000..c773814a9
--- /dev/null
+++ b/meson/test cases/linuxlike/5 dependency versions/subprojects/somelibver/meson.build
@@ -0,0 +1,9 @@
+project('some', 'c')
+
+somelib = library('some', 'lib.c')
+someinc = include_directories('.')
+
+# Define version only in declare_dependency
+some_dep = declare_dependency(link_with : somelib,
+ include_directories : someinc,
+ version : '0.3')