1# SPDX-License-Identifier: Apache-2.0
2
3cxx = meson.get_compiler('cpp')
4
5collect_deps = [
6   CLI11_dep,
7   phosphorlogging,
8   cxx.find_library('pdbg'),
9   cxx.find_library('libdt-api'),
10   cxx.find_library('phal'),
11]
12
13# source files
14
15collect_src = files(
16    'sbe_dump_collector.cpp',
17    'dump_collect_main.cpp',
18    'dump_utils.cpp',
19    'create_pel.cpp',
20    'dump_utils.cpp',
21    'sbe_type.cpp',
22)
23
24executable('dump-collect',
25    collect_src,
26    dependencies: collect_deps,
27    implicit_include_directories: true,
28    install: true
29)
30