summaryrefslogtreecommitdiffstats
path: root/common/meson.build
blob: e465fa55be1177c9d9aeb4b3d5365d6a5f159806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
libdlmcommon_sources = [
        '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
)