blob: 22ac81a516cd2e9e05a15267bf03f302f5566a98 [file] [log] [blame]
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05001systemd = dependency('libsystemd', version: '>= 221')
Alpana Kumarib17dd3b2020-10-01 00:18:10 -05002sdeventplus = dependency('sdeventplus')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06003
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05004configuration_inc = include_directories('.', '../', '../vpd-parser/')
SunnySrivastava1984b59fd092020-02-03 09:58:56 -06005
Patrick Williamsdc3c3c32023-09-07 05:59:18 -05006vpd_manager_SOURCES = [
7 'manager_main.cpp',
8 'manager.cpp',
Patrick Williamsdc3c3c32023-09-07 05:59:18 -05009 'editor_impl.cpp',
10 'reader_impl.cpp',
11 'gpioMonitor.cpp',
12 'bios_handler.cpp',
13 '../impl.cpp',
14 '../vpd-parser/ipz_parser.cpp',
15 '../ibm_vpd_utils.cpp',
16 '../common_utility.cpp',
17 '../vpd-parser//keyword_vpd_parser.cpp',
18 '../vpd-parser/memory_vpd_parser.cpp',
19 '../vpd-parser/isdimm_vpd_parser.cpp',
20 '../vpd-parser/parser_factory.cpp'
21]
SunnySrivastava1984b59fd092020-02-03 09:58:56 -060022
Patrick Williamsdc3c3c32023-09-07 05:59:18 -050023vpd_manager_dependencies = [
24 CLI11_dep,
25 libgpiodcxx,
26 phosphor_logging,
27 sdeventplus,
28 systemd,
29 nlohmann_json_dep,
30]
SunnySrivastava1984a7392592020-03-09 10:19:33 -050031
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050032vpd_manager_exe = executable(
33 'vpd-manager',
Alpana Kumarib17dd3b2020-10-01 00:18:10 -050034 vpd_manager_SOURCES,
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050035 include_directories : configuration_inc,
36 dependencies : [
37 vpd_manager_dependencies,
38 ],
Priyanga Ramasamya4a2adf2022-02-03 05:43:41 -060039 link_with : libvpdecc,
Santosh Puranik6b2b5372022-06-02 20:49:02 +053040 install : true,
41 cpp_args : '-DIPZ_PARSER'
SunnySrivastava1984e12b1812020-05-26 02:23:11 -050042 )