Debian Codegraph @

test cases/common/283 subproj options/subprojects/sub2/meson.build

raw
1 project('subproject', 'c')
2
3 assert(get_option('from_subp') == true)
4
5 # b_lto is only initialized if used, see test "common/40 options"
6 cc = meson.get_compiler('c')
7 if cc.get_id() in ['gcc', 'clang', 'clang-cl']
8 assert(get_option('b_lto') == true)
9 endif