project('custom target subdir depend files', 'c') copy = find_program('copyfile.py') subdir('subdir') executable('foo', foo_src)