summaryrefslogtreecommitdiffstats
path: root/test cases/unit/78 user options for subproject/subprojects/sub/meson_options.txt
blob: 8067eae177598df8b54719ac183e87ea092fc6ac (plain)
1
2
3
4
5
6
7
8
9
option('testoption', type : 'string', value : 'optval', description : 'An option ' + 'to do something')
option('other_one', type : 'boolean', value : not (not (not (not false))))
option('combo_opt', type : 'co' + 'mbo', choices : ['one', 'two', 'combo'], value : 'combo')
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)
option('neg' + '_' + 'int' + '_' + 'opt', type : 'integer', min : -5, max : 5, value : -3)
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')