blob: 40141494e9f45bd281451348a0e7b41f9450362b [file] [log] [blame]
project('super', 'c')
# A will use version 1 of C
a_dep = dependency('a', fallback: ['a', 'a_dep'])
# B has an optional dependency on C version 2 and will therefore work
b_dep = dependency('b', fallback: ['b', 'b_dep'])
main = executable('main', files('main.c'), dependencies: [a_dep, b_dep])