SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 1 | systemd = dependency('libsystemd', version: '>= 221') |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 2 | sdeventplus = dependency('sdeventplus') |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 3 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 4 | configuration_inc = include_directories('.', '../', '../vpd-parser/') |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 5 | |
Patrick Williams | dc3c3c3 | 2023-09-07 05:59:18 -0500 | [diff] [blame] | 6 | vpd_manager_SOURCES = [ |
| 7 | 'manager_main.cpp', |
| 8 | 'manager.cpp', |
Patrick Williams | dc3c3c3 | 2023-09-07 05:59:18 -0500 | [diff] [blame] | 9 | '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 | ] |
SunnySrivastava1984 | b59fd09 | 2020-02-03 09:58:56 -0600 | [diff] [blame] | 22 | |
Patrick Williams | dc3c3c3 | 2023-09-07 05:59:18 -0500 | [diff] [blame] | 23 | vpd_manager_dependencies = [ |
| 24 | CLI11_dep, |
| 25 | libgpiodcxx, |
| 26 | phosphor_logging, |
| 27 | sdeventplus, |
| 28 | systemd, |
| 29 | nlohmann_json_dep, |
| 30 | ] |
SunnySrivastava1984 | a739259 | 2020-03-09 10:19:33 -0500 | [diff] [blame] | 31 | |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 32 | vpd_manager_exe = executable( |
| 33 | 'vpd-manager', |
Alpana Kumari | b17dd3b | 2020-10-01 00:18:10 -0500 | [diff] [blame] | 34 | vpd_manager_SOURCES, |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 35 | include_directories : configuration_inc, |
| 36 | dependencies : [ |
| 37 | vpd_manager_dependencies, |
| 38 | ], |
Priyanga Ramasamy | a4a2adf | 2022-02-03 05:43:41 -0600 | [diff] [blame] | 39 | link_with : libvpdecc, |
Santosh Puranik | 6b2b537 | 2022-06-02 20:49:02 +0530 | [diff] [blame] | 40 | install : true, |
| 41 | cpp_args : '-DIPZ_PARSER' |
SunnySrivastava1984 | e12b181 | 2020-05-26 02:23:11 -0500 | [diff] [blame] | 42 | ) |