1systemd = dependency('libsystemd', version: '>= 221') 2sdeventplus = dependency('sdeventplus') 3 4configuration_inc = include_directories('.', '../', '../vpd-parser/') 5 6vpd_manager_SOURCES = [ 7 'manager_main.cpp', 8 'manager.cpp', 9 'error.cpp', 10 'editor_impl.cpp', 11 'reader_impl.cpp', 12 'gpioMonitor.cpp', 13 'bios_handler.cpp', 14 '../impl.cpp', 15 '../vpd-parser/ipz_parser.cpp', 16 '../ibm_vpd_utils.cpp', 17 '../common_utility.cpp', 18 '../vpd-parser//keyword_vpd_parser.cpp', 19 '../vpd-parser/memory_vpd_parser.cpp', 20 '../vpd-parser/isdimm_vpd_parser.cpp', 21 '../vpd-parser/parser_factory.cpp' 22] 23 24vpd_manager_dependencies = [ 25 CLI11_dep, 26 libgpiodcxx, 27 phosphor_logging, 28 sdeventplus, 29 systemd, 30 nlohmann_json_dep, 31] 32 33vpd_manager_exe = executable( 34 'vpd-manager', 35 vpd_manager_SOURCES, 36 include_directories : configuration_inc, 37 dependencies : [ 38 vpd_manager_dependencies, 39 ], 40 link_with : libvpdecc, 41 install : true, 42 cpp_args : '-DIPZ_PARSER' 43 ) 44