project('variable scope') x = 1 assert(is_variable('x')) assert(get_variable('x') == 1) set_variable('x', 10) assert(get_variable('x') == 10) unset_variable('x') assert(not is_variable('x'))