-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmeson.build
47 lines (44 loc) · 938 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
46
47
project(
'obmc-ikvm',
'cpp',
version: '1.0',
license: 'GPLv2',
default_options: [
'cpp_std=c++23',
'werror=true',
],
meson_version: '>=1.1.1',
)
install_data(
'create_usbhid.sh',
install_mode: 'rwxr-xr-x',
install_dir: get_option('bindir')
)
executable(
'obmc-ikvm',
[
'ikvm_args.cpp',
'ikvm_input.cpp',
'ikvm_manager.cpp',
'ikvm_server.cpp',
'ikvm_video.cpp',
'obmc-ikvm.cpp',
],
dependencies: [
dependency('libvncserver'),
dependency('phosphor-logging'),
dependency('phosphor-dbus-interfaces'),
dependency('sdbusplus'),
dependency('threads'),
dependency('boost'),
],
install: true
)
fs = import('fs')
fs.copyfile(
'obmc-ikvm.service',
install: true,
install_dir:
dependency('systemd').get_variable(
'systemdsystemunitdir')
)