Debian Codegraph @

test cases/unit/71 summary/meson.build

raw
1 project('My Project', version : '1.0')
2
3 subproject('sub')
4 subproject('sub2', required : false)
5
6 summary({'Some boolean': false,
7 'Another boolean': true,
8 'Some string': 'Hello World',
9 'A list': ['string', 1, true],
10 'empty list': [],
11 'enabled_opt': get_option('enabled_opt'),
12 }, section: 'Configuration')
13 summary({'missing prog': find_program('xyzzy', required: false),
14 'existing prog': find_program(get_option('python')).full_path(),
15 'missing dep': dependency('', required: false),
16 'external dep': dependency('dl', required: false),
17 'internal dep': declare_dependency(),
18 'disabler': disabler(),
19 }, section: 'Stuff')
20 summary('A number', 1, section: 'Configuration')
21 summary('yes', true, bool_yn : true, section: 'Configuration')
22 summary('no', false, bool_yn : true, section: 'Configuration')
23 summary('comma list', ['a', 'b', 'c'], list_sep: ', ', section: 'Configuration')
24 summary('long comma list', ['alpha', 'alphacolor', 'apetag', 'audiofx', 'audioparsers', 'auparse', 'autodetect', 'avi'], list_sep: ', ', section: 'Plugins')