1# SPDX-License-Identifier: Apache-2.0
2
3cmake_minimum_required(VERSION 3.20.0)
4
5if(BOARD MATCHES "qemu_.*")
6  list(APPEND QEMU_EXTRA_FLAGS -serial file:channel0_0)
7endif()
8
9find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
10project(tracing_tests)
11
12target_sources(app PRIVATE src/main.c)
13target_sources_ifdef(CONFIG_TRACING_USER app PRIVATE src/tracing_user.c)
14