project('sub1', 'c') round = get_option('round') opt = get_option('optimization') if round == 1 assert(opt == '1') elif round == 2 assert(opt == '1') elif round == 3 assert(opt == '1') elif round == 4 assert(opt == '1') elif round == 5 assert(opt == '1') elif round == 6 assert(opt == '2') else assert(false, 'Invalid round number') endif executable('sub1', 'sub1.c')