project('grabber', 'c') # Try to grab a file from a child subproject. subproject('foo') executable('foo', 'subprojects/foo/sub.c')