22 lines
438 B
CMake
22 lines
438 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.13.1)
|
|
|
|
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
|
|
)
|