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.
9 lines
256 B
9 lines
256 B
5 years ago
|
project('has function ext dep', 'c')
|
||
|
|
||
|
cc = meson.get_compiler('c')
|
||
|
|
||
|
mylib = shared_library('mylib', 'mylib.c')
|
||
|
mylib_dep = declare_dependency(link_with : mylib)
|
||
|
# Only external dependencies can work here
|
||
|
cc.has_function('malloc', dependencies : mylib_dep)
|