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.
14 lines
377 B
14 lines
377 B
project('prebuilt shared library', 'c') |
|
|
|
cc = meson.get_compiler('c') |
|
shlib = cc.find_library('alexandria', dirs : meson.current_source_dir()) |
|
|
|
exe = executable('patron', 'patron.c', dependencies : shlib) |
|
test('visitation', exe) |
|
|
|
d = declare_dependency(dependencies : shlib) |
|
|
|
exe2 = executable('another_visitor', 'another_visitor.c', |
|
dependencies : d) |
|
test('another', exe2) |
|
|
|
|