aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/187 find override/meson.build
blob: 3b8af809188c6f059987299846331cd556758237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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')