blob: 3e73226ae3025cb5ed7007aa4ab4dde8c4512ee3 [file] [log] [blame]
kasunathbac958d2022-06-07 18:15:24 -07001rde_pre = declare_dependency(
2 include_directories: [rde_inc],
kasunath7cea1b92022-06-14 20:23:27 -07003 dependencies: [
4 dependency('libbej'),
Patrick Williams5de90612024-02-13 21:31:53 -06005 dependency('nlohmann_json', include_type: 'system'),
kasunath7cea1b92022-06-14 20:23:27 -07006 dependency('phosphor-dbus-interfaces'),
7 dependency('sdbusplus'),
Patrick Williams5de90612024-02-13 21:31:53 -06008 dependency('stdplus'),
kasunath7cea1b92022-06-14 20:23:27 -07009 ]
10)
kasunathbac958d2022-06-07 18:15:24 -070011
kasunatha1a69f12022-05-27 14:31:38 -070012rde_lib = static_library(
13 'rde',
14 'rde_dictionary_manager.cpp',
kasunath37bc0df2022-06-07 12:40:26 -070015 'external_storer_file.cpp',
kasunathbac958d2022-06-07 18:15:24 -070016 'rde_handler.cpp',
kasunath7cea1b92022-06-14 20:23:27 -070017 'notifier_dbus_handler.cpp',
kasunathbac958d2022-06-07 18:15:24 -070018 implicit_include_directories: false,
19 dependencies: rde_pre)
kasunatha1a69f12022-05-27 14:31:38 -070020
21rde_dep = declare_dependency(
kasunathbac958d2022-06-07 18:15:24 -070022 link_with: rde_lib,
23 dependencies: rde_pre)