aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/73 summary/meson.build
blob: 50383b4d781833a1059e1f9b49767331770a9f41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
project('My Project', version : '1.0')

subproject('sub')
subproject('sub2', required : false)

summary({'Some boolean': false,
         'Another boolean': true,
         'Some string': 'Hello World',
         'A list': ['string', 1, true],
         'empty list': [],
        }, section: 'Configuration')
summary({'missing prog': find_program('xyzzy', required: false),
         'existing prog': import('python').find_installation(),
         'missing dep': dependency('', required: false),
         'internal dep': declare_dependency(),
        }, section: 'Stuff')
summary('A number', 1, section: 'Configuration')
summary('yes', true, bool_yn : true, section: 'Configuration')
summary('no', false, bool_yn : true, section: 'Configuration')
summary('coma list', ['a', 'b', 'c'], list_sep: ', ', section: 'Configuration')
summary('long coma list', ['alpha', 'alphacolor', 'apetag', 'audiofx', 'audioparsers', 'auparse', 'autodetect', 'avi'], list_sep: ', ', section: 'Plugins')