Dhruvaraj Subhashchandran | 858d1aa | 2021-10-27 03:26:06 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
| 3 | cxx = meson.get_compiler('cpp') |
| 4 | |
| 5 | collect_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 | |
| 15 | collect_src = files( |
| 16 | 'sbe_dump_collector.cpp', |
| 17 | 'dump_collect_main.cpp', |
| 18 | 'dump_utils.cpp', |
Dhruvaraj Subhashchandran | 6feeebd | 2021-10-19 05:03:59 -0500 | [diff] [blame] | 19 | 'create_pel.cpp', |
Dhruvaraj Subhashchandran | e74e916 | 2024-04-01 09:53:13 -0500 | [diff] [blame] | 20 | 'dump_utils.cpp', |
Dhruvaraj Subhashchandran | 6feeebd | 2021-10-19 05:03:59 -0500 | [diff] [blame] | 21 | 'sbe_type.cpp', |
Dhruvaraj Subhashchandran | 858d1aa | 2021-10-27 03:26:06 -0500 | [diff] [blame] | 22 | ) |
| 23 | |
| 24 | executable('dump-collect', |
| 25 | collect_src, |
| 26 | dependencies: collect_deps, |
| 27 | implicit_include_directories: true, |
| 28 | install: true |
| 29 | ) |