blob: 2c0d977dddf0f48cd259b7a68640a2786deddd65 [file] [log] [blame]
Willy Tu40553242022-11-14 09:27:39 -08001project(
2 'foxconn-ipmi-oem',
3 'cpp',
4 version: '0.1',
5 meson_version: '>=0.63.0',
6 default_options: [
7 'werror=true',
8 'warning_level=3',
9 'cpp_std=c++20',
10 ]
11)
12
13root_inc = include_directories('.', 'include')
14
15# Dependencies
16fiioemcmds_dep = declare_dependency(
17 include_directories: root_inc,
18 dependencies: [
19 dependency('libipmid'),
20 dependency('phosphor-logging'),
21 dependency('sdbusplus'),
22 dependency('libgpiod'),
23 ]
24)
25
26shared_module(
27 'fiioemcmds',
28 'src/systemcommands.cpp',
29 'src/file_handling.cpp',
30 'src/bioscommands.cpp',
31 implicit_include_directories: false,
32 dependencies: fiioemcmds_dep,
33 install: true,
34 install_dir: get_option('libdir') / 'ipmid-providers'
35)
36