1 2 3 4 5 6 7
project('suboptions', default_options: {'c_args': ['-O']}) subproject('subproject') if not get_option('opt') error('option unset when it should be set') endif