blob: 0fe71dd0e069505019e1858b8ab806283a333992 [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',
17 'overlay.cpp',
18 'topology.cpp',
Christopher Meis59ef1e72025-04-16 08:53:25 +020019 'utils.cpp',
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020020 '../utils.cpp',
Alexander Hansen7f51d322025-06-25 12:26:09 +020021 cpp_args: cpp_args_em,
Christopher Meisfc9e7fd2025-04-03 13:13:35 +020022 dependencies: [
23 boost,
24 nlohmann_json_dep,
25 phosphor_logging_dep,
26 sdbusplus,
27 valijson,
28 ],
29 install: true,
30 install_dir: installdir,
31)
32