Merge pull request #14061 from rajkan01/create_mbed_greentea_framework_lib

CMake: Create mbed-greentea library
pull/14086/head^2
Anna Bridge 2020-12-21 13:22:55 +00:00 committed by GitHub
commit 994662ab5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 53 additions and 0 deletions

View File

@ -4,6 +4,10 @@
# List of all features libraries available.
add_library(mbed-fpga-ci-test-shield INTERFACE)
add_library(mbed-client-cli INTERFACE)
add_library(mbed-greentea INTERFACE)
add_subdirectory(frameworks/COMPONENT_FPGA_CI_TEST_SHIELD)
add_subdirectory(frameworks/mbed-client-cli)
add_subdirectory(frameworks/greentea-client)
add_subdirectory(frameworks/unity)
add_subdirectory(frameworks/utest)

View File

@ -0,0 +1,14 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
target_include_directories(mbed-greentea
INTERFACE
.
greentea-client
)
target_sources(mbed-greentea
INTERFACE
source/greentea_metrics.cpp
source/greentea_test_env.cpp
)

View File

@ -0,0 +1,13 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
target_include_directories(mbed-greentea
INTERFACE
.
unity
)
target_sources(mbed-greentea
INTERFACE
source/unity.c
)

View File

@ -0,0 +1,22 @@
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
target_include_directories(mbed-greentea
INTERFACE
.
utest
)
target_sources(mbed-greentea
INTERFACE
mbed-utest-shim.cpp
source/unity_handler.cpp
source/utest_case.cpp
source/utest_default_handlers.cpp
source/utest_greentea_handlers.cpp
source/utest_harness.cpp
source/utest_print.cpp
source/utest_shim.cpp
source/utest_stack_trace.cpp
source/utest_types.cpp
)