-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
45 lines (43 loc) · 883 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
45
project(
'sdbusplus-examples',
'cpp',
version: '1.0',
license: 'GPLv2',
default_options: [
'cpp_std=c++17',
'werror=true',
],
)
executable(
'sdbusplus-server-example-asio',
[
'sdbusplus-server-example-asio.cpp',
],
cpp_args: [
'-Wno-psabi',
'-DBOOST_SYSTEM_NO_DEPRECATED',
'-DBOOST_ASIO_DISABLE_THREADS',
'-DBOOST_ERROR_CODE_HEADER_ONLY',
'-DBOOST_NO_RTTI',
'-DBOOST_NO_TYPEID',
'-DBOOST_ALL_NO_LIB',
],
dependencies: [
dependency('sdbusplus'),
],
install: true
)
executable(
'sdbusplus-server-example-sdevent',
[
'sdbusplus-server-example-sdevent.cpp',
],
cpp_args: [
'-Wno-psabi',
],
dependencies: [
dependency('sdbusplus'),
dependency('sdeventplus'),
],
install: true
)