2020-04-16 21:50:32 +08:00
|
|
|
# Boilerplate code, which pulls in the Zephyr build system.
|
2021-08-10 20:44:56 +08:00
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
2021-10-29 02:46:08 +08:00
|
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
2020-04-16 21:50:32 +08:00
|
|
|
|
|
|
|
project(openthread_tests)
|
|
|
|
|
|
|
|
zephyr_library_include_directories(
|
|
|
|
${ZEPHYR_BASE}/../modules/lib/openthread/include/
|
|
|
|
${ZEPHYR_BASE}/../modules/lib/openthread/src/posix/platform/
|
2022-07-07 20:41:09 +08:00
|
|
|
${ZEPHYR_BASE}/modules/openthread/platform/
|
2020-04-16 21:50:32 +08:00
|
|
|
${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)
|