meson/test cases/common/105 testframework options/meson.build

6 lines
289 B
Meson

project('options', 'c')
assert(get_option('testoption') == 'A string with spaces', 'Incorrect value for testoption option.')
assert(get_option('other_one') == true, 'Incorrect value for other_one option.')
assert(get_option('combo_opt') == 'one', 'Incorrect value for combo_opt option.')