diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2019-03-04 01:48:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-04 01:48:58 +0200 |
| commit | 0de4f199b3aa30939436742cfcd706412ea498e9 (patch) | |
| tree | 9e8e3bae6cee8ce439febfd18a8d26c71eb54380 /test cases | |
| parent | 7f9fb6a08481c26698fb9c8ce4920c456e46bbbd (diff) | |
| parent | 586ec5a28cc2ea854f726cb7a6075b0918595bf5 (diff) | |
| download | meson-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.build | 6 |
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') |
