The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
429 B
12 lines
429 B
project('subproject fallback', 'c') |
|
|
|
foob_dep = dependency('foob', allow_fallback: true, required: false) |
|
assert(foob_dep.found()) |
|
|
|
# Careful! Once a submodule has been triggered and it has |
|
# overridden the dependency, it sticks. |
|
foob_dep = dependency('foob', allow_fallback: false, required: false) |
|
assert(foob_dep.found()) |
|
|
|
foob3_dep = dependency('foob3', allow_fallback: false, required: false) |
|
assert(not foob3_dep.found())
|
|
|