Debian Codegraph @

test cases/common/162 subdir if_found/meson.build

raw
1 project('subdir if found')
2
3 found_dep = declare_dependency()
4 not_found_dep = dependency('nonexisting', required : false)
5
6 subdir('nonexisting_dir', if_found : not_found_dep)
7
8 variable = 3
9
10 subdir('subdir', if_found : found_dep)
11 assert(variable == 5, 'Subdir was not properly entered.')