blob: e964e423e8e019dfe47b95ce9974d1dd34c410ea (
plain)
1
2
3
4
5
6
7
8
9
|
project('super', 'c')
# A will use version 1 of C
a_dep = dependency('a', fallback: ['a', 'a_dep'])
# B will fail because it requests version 2 of C
b_dep = dependency('b', fallback: ['b', 'b_dep'])
main = executable('main', files('main.c'), dependencies: [a_dep, b_dep])
|