blob: 323118bbea1007307e817454b49ff746e8c13c11 [file] [log] [blame]
Brad Bishop81739f42019-03-29 09:48:26 -04001project(
2 'obmc-ikvm',
3 'cpp',
4 version: '1.0',
5 license: 'GPLv2',
6 default_options: [
Patrick Williams9d545472022-09-16 09:26:48 -05007 'cpp_std=c++20',
Brad Bishop81739f42019-03-29 09:48:26 -04008 'werror=true',
9 ],
Patrick Williams673ba882023-04-12 08:01:04 -050010 meson_version: '>=0.58.0',
Brad Bishop81739f42019-03-29 09:48:26 -040011)
12
John Wang63c3ea12019-04-17 17:38:41 +080013install_data(
14 'create_usbhid.sh',
15 install_mode: 'rwxr-xr-x',
16 install_dir: get_option('bindir')
17)
18
Brad Bishop81739f42019-03-29 09:48:26 -040019executable(
20 'obmc-ikvm',
21 [
22 'ikvm_args.cpp',
23 'ikvm_input.cpp',
24 'ikvm_manager.cpp',
25 'ikvm_server.cpp',
26 'ikvm_video.cpp',
27 'obmc-ikvm.cpp',
28 ],
29 dependencies: [
30 dependency('libvncserver'),
31 dependency('phosphor-logging'),
32 dependency('phosphor-dbus-interfaces'),
33 dependency('sdbusplus'),
34 dependency('threads'),
35 ],
36 install: true
37)
Brad Bishopfb6a8e12019-03-29 10:54:44 -040038
39configure_file(
40 input: 'start-ipkvm.service',
41 output: 'start-ipkvm.service',
42 copy: true,
43 install_dir:
Patrick Williams673ba882023-04-12 08:01:04 -050044 dependency('systemd').get_variable(
Brad Bishopfb6a8e12019-03-29 10:54:44 -040045 'systemdsystemunitdir')
46)