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.
10 lines
788 B
10 lines
788 B
5 years ago
|
option('testoption', type : 'string', value : 'optval', description : 'An option ' + 'to do something')
|
||
5 years ago
|
option('other_one', type : 'boolean', value : not (not (not (not false))))
|
||
5 years ago
|
option('combo_opt', type : 'co' + 'mbo', choices : ['one', 'two', 'combo'], value : 'combo')
|
||
5 years ago
|
option('array_opt', type : 'array', choices : ['one', 'two', 'three'], value : ['one', 'two'])
|
||
|
option('free_array_opt', type : 'array')
|
||
|
option('integer_opt', type : 'integer', min : 0, max : -(-5), value : 3)
|
||
5 years ago
|
option('neg' + '_' + 'int' + '_' + 'opt', type : 'integer', min : -5, max : 5, value : -3)
|
||
4 years ago
|
option('CaseSenSiTivE', type : 'string', value: 'Some CAPS', description : 'An option with mixed capitaliziation')
|
||
|
option('CASESENSITIVE', type : 'string', value: 'ALL CAPS', description : 'An option with all caps')
|