-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
44 lines (37 loc) · 870 Bytes
/
meson.build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
project('hub',
[ 'cpp' ],
default_options : [
'warning_level=3',
'cpp_std=c++17',
],
)
src = [
'src/main.cc',
'src/EqDevice.cc',
'src/D_prop_wrapper.cc',
]
# Things we install besides the binary
datafiles = [
'RPC_LIBNO',
meson.project_name() + '_CONF.TEMPLATE',
]
doocs_json_proj = subproject('doocs-json')
doocs_zmq_dep = doocs_json_proj.get_variable('doocs_zmq_dep')
# Libraries we depend on (usually found via pkg-config)
dep = [
dependency('doocs-serverlib'),
dependency('doocs-doocsapi'),
dependency('doocs-doocsdapi'),
doocs_zmq_dep
]
incl = include_directories('include')
install_data(datafiles,
install_dir : get_option('datadir'),
)
# Server executable
executable(meson.project_name() + '_server',
src,
include_directories : incl,
dependencies : dep,
install : true,
)