The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
1.0 KiB
23 lines
1.0 KiB
5 years ago
|
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': [],
|
||
4 years ago
|
'enabled_opt': get_option('enabled_opt'),
|
||
5 years ago
|
}, section: 'Configuration')
|
||
4 years ago
|
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')
|
||
5 years ago
|
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')
|
||
4 years ago
|
summary('long coma list', ['alpha', 'alphacolor', 'apetag', 'audiofx', 'audioparsers', 'auparse', 'autodetect', 'avi'], list_sep: ', ', section: 'Plugins')
|