1# Source files.
2analyzer_src = files(
3    'analyzer_main.cpp',
4    'create_pel.cpp',
5    'filter-root-cause.cpp',
6    'hei_user_interface.cpp',
7    'initialize_isolator.cpp',
8    'ras-data/ras-data-parser.cpp',
9    'resolution.cpp',
10    'service_data.cpp',
11)
12
13plugins_src = files(
14    'plugins/p10-plugins.cpp',
15    'plugins/p10-tod-plugins.cpp',
16)
17
18# Library dependencies.
19analyzer_deps = [
20    dbus_interfaces_dep,
21    libhei_dep,
22    nlohmann_json_dep,
23    sdbusplus_dep,
24    valijson_dep,
25]
26
27# Create static library.
28analyzer_lib = static_library(
29    'analyzer_lib',
30    [ analyzer_src, plugins_src ],
31    include_directories : incdir,
32    dependencies : analyzer_deps,
33    cpp_args : [ package_args, test_arg ],
34    install : false,
35)
36
37# Install the RAS data files.
38subdir('ras-data')
39
40