project('warning location', 'c', invalid: 'cheese') a = library('liba', 'a.c') b = library('libb', 'b.c') executable('main', 'main.c', link_with: a, link_with: b) subdir('sub') warning('a warning of some sort') import('unstable-simd') conf_data = configuration_data() conf_data.set('NOTMISSING', 1) configure_file(input: 'conf.in' , output: 'conf', configuration: conf_data)