Skip to content

Commit

Permalink
CMake: Add support for NFC Greentea test
Browse files Browse the repository at this point in the history
The NFC Greentea test can now be built with CMake
  • Loading branch information
hugueskamba committed Dec 24, 2020
1 parent 994662a commit 4d4391a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions connectivity/nfc/tests/TESTS/nfc/eeprom/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 4d4391a

Please sign in to comment.