Debian Codegraph @

test cases/common/167 subproject nested subproject dirs/meson.build

raw
1 project('gamma project', 'c', subproject_dir: 'contrib/subprojects')
2
3 a = subproject('alpha')
4 lib = a.get_variable('l')
5
6 # Ensure that the dependency version is not checked for a not-found dependency
7 notfound = dependency('', version : '>=1.0', required : false,
8 fallback : ['beta', 'notfound'])
9
10 exe = executable('prog', 'prog.c', link_with : lib)
11 test('basic', exe)