blob: dbc46123942beae3caa47625b9fdff4bfdc2654e [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: [
7 'cpp_std=c++17',
8 'werror=true',
9 ],
10)
11
John Wang63c3ea12019-04-17 17:38:41 +080012install_data(
13 'create_usbhid.sh',
14 install_mode: 'rwxr-xr-x',
15 install_dir: get_option('bindir')
16)
17
Brad Bishop81739f42019-03-29 09:48:26 -040018executable(
19 'obmc-ikvm',
20 [
21 'ikvm_args.cpp',
22 'ikvm_input.cpp',
23 'ikvm_manager.cpp',
24 'ikvm_server.cpp',
25 'ikvm_video.cpp',
26 'obmc-ikvm.cpp',
27 ],
28 dependencies: [
29 dependency('libvncserver'),
30 dependency('phosphor-logging'),
31 dependency('phosphor-dbus-interfaces'),
32 dependency('sdbusplus'),
33 dependency('threads'),
34 ],
35 install: true
36)
Brad Bishopfb6a8e12019-03-29 10:54:44 -040037
38configure_file(
39 input: 'start-ipkvm.service',
40 output: 'start-ipkvm.service',
41 copy: true,
42 install_dir:
43 dependency('systemd').get_pkgconfig_variable(
44 'systemdsystemunitdir')
45)