Files
libcoap/examples/zephyr/client-src/CMakeLists.txt
T
Jon Shallow 4803f161f0 zephyr: Examples support
New examples/zephyr directory that contains a sample coap-client.
Building the coap-client assumes that the zephyrproject has already been
installed and set up (default directory ~/zephyrproject).
2024-10-10 16:48:50 +01:00

10 lines
250 B
CMake

# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(coap_client)
target_sources(app PRIVATE src/main.c)
include(${ZEPHYR_BASE}/samples/net/common/common.cmake)