aboutsummaryrefslogtreecommitdiffstats
path: root/src/meson.build
blob: 2ce6cb009b0bcef04ae6f2b87a99b4973ae6cfbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
add_project_arguments('-fvisibility=hidden', language : 'c')

src = ['api.c', 'bluez-agent.c', 'bluez-call.c', 'call_work.c', 'conf.c']
lib = shared_library('bluez-glib',
                     sources: src,
                     version: '1.0.0',
                     soversion: '0',
                     include_directories: inc,
                     dependencies: [systemd_dep, glib_deps],
                     install: true)

if get_option('build-tester')
    lib_dep = declare_dependency(link_with: lib)
    executable('bluez-glib-test',
               'test.c',
               include_directories: inc,
               dependencies: [systemd_dep, glib_deps, lib_dep])
endif