blob: c55a6a8404d04cb41df5c50ad03f8c69f92af8ff [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',
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020021 '../utils.cpp',
Alexander Hansen44c90252025-06-27 15:17:42 +020022 'main.cpp',
Alexander Hansen7f51d322025-06-25 12:26:09 +020023 cpp_args: cpp_args_em,
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020024 dependencies: [
25 boost,
26 nlohmann_json_dep,
27 phosphor_logging_dep,
28 sdbusplus,
29 valijson,
30 ],
31 install: true,
32 install_dir: installdir,
33)
34