Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions features/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
14 changes: 14 additions & 0 deletions features/frameworks/greentea-client/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
13 changes: 13 additions & 0 deletions features/frameworks/unity/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)
22 changes: 22 additions & 0 deletions features/frameworks/utest/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
)