1cpp_args_em = cpp_args + ['-DBOOST_ASIO_DISABLE_THREADS'] 2 3if get_option('runtime-validate-json') 4 cpp_args_em += ['-DENABLE_RUNTIME_VALIDATE_JSON=true'] 5else 6 cpp_args_em += ['-DENABLE_RUNTIME_VALIDATE_JSON=false'] 7endif 8 9em_deps = [boost, nlohmann_json_dep, phosphor_logging_dep, sdbusplus, valijson] 10 11entity_manager_lib = static_library( 12 'entity-manager', 13 'entity_manager.cpp', 14 'configuration.cpp', 15 'expression.cpp', 16 'dbus_interface.cpp', 17 'perform_scan.cpp', 18 'perform_probe.cpp', 19 'power_status_monitor.cpp', 20 'overlay.cpp', 21 'topology.cpp', 22 'utils.cpp', 23 'log_device_inventory.cpp', 24 '../utils.cpp', 25 cpp_args: cpp_args_em, 26 dependencies: em_deps, 27) 28 29executable( 30 'entity-manager', 31 'main.cpp', 32 cpp_args: cpp_args_em, 33 dependencies: em_deps, 34 link_with: entity_manager_lib, 35 install: true, 36 install_dir: installdir, 37) 38 39