The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
296 B
10 lines
296 B
7 years ago
|
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])
|