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', |
| 19 | ) |
| 20 | |
| 21 | executable('dump-collect', |
| 22 | collect_src, |
| 23 | dependencies: collect_deps, |
| 24 | implicit_include_directories: true, |
| 25 | install: true |
| 26 | ) |