blob: 41c11c656df07d90a9dc0c447b12ef5c9fc2bfad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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)
|