Skip to content

Commit

Permalink
Merge pull request #14099 from hugueskamba/hk_cmake_greentea_cordio
Browse files Browse the repository at this point in the history
CMake: Add support for CORDIO Greentea tests
  • Loading branch information
0xc0170 committed Jan 20, 2021
2 parents 5f541b2 + 51bd84e commit 83c18dd
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
@@ -0,0 +1,16 @@
# 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-ble-cordio-hci-driver)

include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)

project(${TEST_TARGET})

mbed_greentea_cmake_macro(
TEST_NAME ${TEST_TARGET}
TEST_REQUIRED_LIBS mbed-ble mbed-events
)
@@ -0,0 +1,16 @@
# 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-ble-cordio-hci-transport)

include(${MBED_PATH}/tools/cmake/mbed_greentea.cmake)

project(${TEST_TARGET})

mbed_greentea_cmake_macro(
TEST_NAME ${TEST_TARGET}
TEST_REQUIRED_LIBS mbed-ble
)

0 comments on commit 83c18dd

Please sign in to comment.