-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmeson.build
44 lines (39 loc) · 933 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(
'obmc-ikvm',
'c',
version: '1.0',
license: 'GPLv2',
default_options: [
'cpp_std=c++17',
'werror=true',
],
)
executable(
'obmc-ikvm',
[
'rfbusbhid.c',
'rfbnpcm750.c',
'obmc-ikvm.c',
],
dependencies: [
dependency('libvncserver'),
dependency('phosphor-logging'),
dependency('phosphor-dbus-interfaces'),
dependency('sdbusplus'),
dependency('threads'),
],
install: true
)
conf_data = configuration_data()
if get_option('keyevent').enabled()
conf_data.set('KEYBOARD_EVENT', true, description : 'Enabled Keyboard Event')
endif
configure_file(output : 'config.h', configuration : conf_data)
configure_file(
input: 'obmc-ikvm.service',
output: 'obmc-ikvm.service',
copy: true,
install_dir:
dependency('systemd').get_pkgconfig_variable(
'systemdsystemunitdir')
)