summaryrefslogtreecommitdiffstats
path: root/common/meson.build
blob: 663c1ce0cd1cf7b6d51b1453141d054395a8d5da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
libdlmcommon_sources = [
        'dlm-protocol.c',
        'socket-path.c',
        'log.c'
]

libdlmcommon_inc = [include_directories('.')]

if enable_tests
    libdlmcommon_inc += include_directories('test')
    libdlmcommon_sources += ['test/test-helpers.c']
endif

libdlmcommon = static_library(
        'common',
        sources: libdlmcommon_sources,
        include_directories : configuration_inc,
)

dlmcommon_dep = declare_dependency(
    link_with : libdlmcommon,
    include_directories : libdlmcommon_inc
)