summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-03-04 01:48:58 +0200
committerGitHub <noreply@github.com>2019-03-04 01:48:58 +0200
commit0de4f199b3aa30939436742cfcd706412ea498e9 (patch)
tree9e8e3bae6cee8ce439febfd18a8d26c71eb54380 /test cases
parent7f9fb6a08481c26698fb9c8ce4920c456e46bbbd (diff)
parent586ec5a28cc2ea854f726cb7a6075b0918595bf5 (diff)
downloadmeson-0de4f199b3aa30939436742cfcd706412ea498e9.tar.gz
Merge pull request #4949 from mensinda/introTargetNoBD
mintro: Introspect targets and deps without a build directory
Diffstat (limited to 'test cases')
-rw-r--r--test cases/unit/52 introspection/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/test cases/unit/52 introspection/meson.build b/test cases/unit/52 introspection/meson.build
index 14d880b06..98f6f226f 100644
--- a/test cases/unit/52 introspection/meson.build
+++ b/test cases/unit/52 introspection/meson.build
@@ -1,6 +1,12 @@
project('introspection', ['c', 'cpp'], version: '1.2.3', default_options: ['cpp_std=c++11', 'buildtype=debug'])
dep1 = dependency('threads')
+dep2 = dependency('zlib', required: false)
+
+if false
+ dependency('somethingthatdoesnotexist', required: true)
+ dependency('look_i_have_a_fallback', fallback: ['oh_no', 'the_subproject_does_not_exist'])
+endif
subdir('sharedlib')
subdir('staticlib')