CMake: Add support for NFC Greentea test

The NFC Greentea test can now be built with CMake
pull/14091/head
Hugues Kamba 2020-12-24 17:16:07 +00:00
parent 265aa4cc92
commit edab3140e2
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
cmake_minimum_required(VERSION 3.19.0 FATAL_ERROR)
set(MBED_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../.. CACHE INTERNAL "")
set(TEST_TARGET mbed-connectivity-nfc-eeprom)
include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)
project(${TEST_TARGET})
mbed_greentea_cmake_macro(
TEST_NAME ${TEST_TARGET}
TEST_REQUIRED_LIBS
mbed-nfc
)