blob: a0fb7ec4342cf159484fae6a7aee7f9fc109e540 [file] [log] [blame]
Alexander Hansen7f51d322025-06-25 12:26:09 +02001cpp_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
Christopher Meisfc9e7fd2025-04-03 13:13:35 +02009executable(
10 'entity-manager',
11 'entity_manager.cpp',
12 'configuration.cpp',
Christopher Meis59ef1e72025-04-16 08:53:25 +020013 'expression.cpp',
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020014 'dbus_interface.cpp',
15 'perform_scan.cpp',
16 'perform_probe.cpp',
Alexander Hansen8c99fcf2025-07-24 12:27:05 +020017 'power_status_monitor.cpp',
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020018 'overlay.cpp',
19 'topology.cpp',
Christopher Meis59ef1e72025-04-16 08:53:25 +020020 'utils.cpp',
Alexander Hansenf57a2592025-06-27 15:07:07 +020021 'log_device_inventory.cpp',
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020022 '../utils.cpp',
Alexander Hansen44c90252025-06-27 15:17:42 +020023 'main.cpp',
Alexander Hansen7f51d322025-06-25 12:26:09 +020024 cpp_args: cpp_args_em,
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020025 dependencies: [
26 boost,
27 nlohmann_json_dep,
28 phosphor_logging_dep,
29 sdbusplus,
30 valijson,
31 ],
32 install: true,
33 install_dir: installdir,
34)
35