project('sub', 'c') foobar = executable('foobar', 'foobar.c', native : true) meson.override_find_program('foobar', foobar)