Skip to content

Commit 877bde0

Browse files
committed
CMake: Add support for LoRaWAN Greentea test
The LoRaWAN Greentea test can now be built with CMake.
1 parent a5cde33 commit 877bde0

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright (c) 2020 ARM Limited. All rights reserved.
2+
# SPDX-License-Identifier: Apache-2.0
3+
4+
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
5+
6+
set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../.. CACHE INTERNAL "")
7+
set(TEST_TARGET mbed-connectivity-lorawan-loraradio)
8+
9+
include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
10+
11+
project(${TEST_TARGET})
12+
13+
mbed_greentea_cmake_macro(
14+
TEST_NAME ${TEST_TARGET}
15+
TEST_REQUIRED_LIBS mbed-lorawan
16+
)

0 commit comments

Comments
 (0)