zephyr/samples/net/zperf/CMakeLists.txt

22 lines
438 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(zperf)
target_sources(app PRIVATE
src/main.c
src/shell_utils.c
src/zperf_session.c
src/zperf_shell.c
src/zperf_udp_receiver.c
src/zperf_udp_uploader.c
src/zperf_tcp_receiver.c
src/zperf_tcp_uploader.c
)
target_include_directories(app PRIVATE
${ZEPHYR_BASE}/subsys/net/ip
)