zephyr/tests/subsys/openthread/CMakeLists.txt
Robert Lubos 815ebc316e net: openthread: Move glue code into module directory
Move OpenThread's glue code along with the Kconfig files that configure
OpenThread stack itself into module directory.

Update the maintainers file to reflect this change.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-07-11 11:00:12 +02:00

17 lines
610 B
CMake

# Boilerplate code, which pulls in the Zephyr build system.
cmake_minimum_required(VERSION 3.20.0)
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(openthread_tests)
zephyr_library_include_directories(
${ZEPHYR_BASE}/../modules/lib/openthread/include/
${ZEPHYR_BASE}/../modules/lib/openthread/src/posix/platform/
${ZEPHYR_BASE}/modules/openthread/platform/
${ZEPHYR_BASE}/../modules/lib/openthread/examples/platforms/
)
# Add your source file to the "app" target. This must come after
# the boilerplate code, which defines the target.
target_sources(app PRIVATE radio_test.c radio_stub.c)