blob: 9667e33cede173f0a1f30e783e9fbc1f7f4e09f7 [file] [log] [blame]
Dhruvaraj Subhashchandran858d1aa2021-10-27 03:26:06 -05001# 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',
Dhruvaraj Subhashchandran6feeebd2021-10-19 05:03:59 -050019 'create_pel.cpp',
Dhruvaraj Subhashchandrane74e9162024-04-01 09:53:13 -050020 'dump_utils.cpp',
Dhruvaraj Subhashchandran6feeebd2021-10-19 05:03:59 -050021 'sbe_type.cpp',
Dhruvaraj Subhashchandran858d1aa2021-10-27 03:26:06 -050022)
23
24executable('dump-collect',
25 collect_src,
26 dependencies: collect_deps,
27 implicit_include_directories: true,
28 install: true
29)