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.
11 lines
260 B
11 lines
260 B
5 years ago
|
project('external dependency with static', 'c')
|
||
|
|
||
|
# Zlib is probably on all dev machines.
|
||
|
|
||
|
dep = dependency('zlib')
|
||
|
statlib = static_library('statlib', 'lib.c', dependencies : dep)
|
||
|
exe = executable('prog', 'prog.c', link_with : statlib)
|
||
|
|
||
|
|
||
|
test('zlibtest', exe)
|