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
369 B
10 lines
369 B
7 years ago
|
project('mainproj', 'c',
|
||
7 years ago
|
default_options : [])
|
||
7 years ago
|
|
||
|
zlib_dep = dependency('zlib', fallback: ['notzlib', 'zlib_dep'])
|
||
7 years ago
|
notfound_dep = dependency('cannotabletofind', fallback: ['definitelynotfound', 'some_var'], required : false)
|
||
7 years ago
|
|
||
7 years ago
|
test_not_zlib = executable('test_not_zlib', ['test_not_zlib.c'], dependencies: [zlib_dep, notfound_dep])
|
||
7 years ago
|
|
||
|
test('test_not_zlib', test_not_zlib)
|