2019-09-12 16:00:03 +08:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2021-09-09 05:54:20 +08:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
2019-09-12 16:00:03 +08:00
|
|
|
|
|
|
|
add_executable(sof-probes
|
2022-09-29 03:07:18 +08:00
|
|
|
probes_demux.c
|
2019-09-12 16:00:03 +08:00
|
|
|
probes_main.c
|
|
|
|
)
|
|
|
|
|
|
|
|
target_compile_options(sof-probes PRIVATE
|
|
|
|
-Wall -Werror
|
|
|
|
)
|
|
|
|
|
|
|
|
target_include_directories(sof-probes PRIVATE
|
|
|
|
"../../src/include"
|
|
|
|
)
|
|
|
|
|
2022-08-19 21:10:56 +08:00
|
|
|
# TODO: probes should not need to include RTOS headers. FIX.
|
|
|
|
target_include_directories(sof-probes PRIVATE
|
|
|
|
"../../xtos/include"
|
|
|
|
)
|
|
|
|
|
2019-09-12 16:00:03 +08:00
|
|
|
install(TARGETS sof-probes DESTINATION bin)
|