mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14091 from hugueskamba/hk_cmake_greentea_nfc
CMake: Add support for NFC Greentea testpull/14173/head
commit
f8e586492f
|
|
@ -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
|
||||
)
|
||||
Loading…
Reference in New Issue