aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/17 prebuilt shared/meson.build
blob: 9a4eca0f32f749fa48426f0a8cf07ac6a37032f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)