diff options
Diffstat (limited to 'meson/test cases/unit/17 prebuilt shared/meson.build')
-rw-r--r-- | meson/test cases/unit/17 prebuilt shared/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meson/test cases/unit/17 prebuilt shared/meson.build b/meson/test cases/unit/17 prebuilt shared/meson.build new file mode 100644 index 000000000..41c11c656 --- /dev/null +++ b/meson/test cases/unit/17 prebuilt shared/meson.build @@ -0,0 +1,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) + |