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.
12 lines
390 B
12 lines
390 B
7 years ago
|
project('gamma project', 'c', subproject_dir: 'contrib/subprojects')
|
||
|
|
||
|
a = subproject('alpha')
|
||
|
lib = a.get_variable('l')
|
||
|
|
||
6 years ago
|
# Ensure that the dependency version is not checked for a not-found dependency
|
||
|
notfound = dependency('', version : '>=1.0', required : false,
|
||
|
fallback : ['beta', 'notfound'])
|
||
|
|
||
7 years ago
|
exe = executable('prog', 'prog.c', link_with : lib)
|
||
|
test('basic', exe)
|