blob: b277459052213028086b4c361f3ad36a36940307 [file] [log] [blame]
project('find program override', 'c')
gencodegen = find_program('gencodegen', required : false)
assert(not gencodegen.found(), 'gencodegen is an internal program, should not be found')
# Test the check-if-found-else-override workflow
if not gencodegen.found()
subdir('subdir')
endif
subdir('otherdir')
tool = find_program('sometool')
assert(tool.found())