blob: 200c9f9d96fb6ebd7b01590ede931e27f80d11df [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 Hansen7f51d322025-06-25 12:26:09 +020022 cpp_args: cpp_args_em,
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020023 dependencies: [
24 boost,
25 nlohmann_json_dep,
26 phosphor_logging_dep,
27 sdbusplus,
28 valijson,
29 ],
30 install: true,
31 install_dir: installdir,
32)
33