mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Revert mbed-trace CMake input source file to match upstream repository (#13590)
As there is currently no mbed-trace library, statements related to that target have been commented out.pull/13566/head
parent
47f61485b8
commit
0f7d03ae1c
|
@ -1,15 +1,7 @@
|
||||||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
if(DEFINED TARGET_LIKE_X86_LINUX_NATIVE)
|
add_subdirectory(source)
|
||||||
add_definitions("-g -O0 -fprofile-arcs -ftest-coverage")
|
|
||||||
# target_link_libraries(mbed-os gcov nanostack-libservice)
|
|
||||||
elseif(DEFINED TARGET_LIKE_X86_OSX_NATIVE)
|
|
||||||
add_definitions("-g -O0")
|
|
||||||
# target_link_libraries(mbed-os nanostack-libservice)
|
|
||||||
else()
|
|
||||||
# target_link_libraries(mbed-os nanostack-libservice)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
target_include_directories(mbed-os
|
target_include_directories(mbed-os
|
||||||
PUBLIC
|
PUBLIC
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
if(DEFINED TARGET_LIKE_X86_LINUX_NATIVE)
|
||||||
|
# add_library( mbed-trace
|
||||||
|
# mbed_trace.c
|
||||||
|
# )
|
||||||
|
add_definitions("-g -O0 -fprofile-arcs -ftest-coverage")
|
||||||
|
# target_link_libraries(mbed-trace gcov nanostack-libservice)
|
||||||
|
elseif(DEFINED TARGET_LIKE_X86_OSX_NATIVE)
|
||||||
|
# add_library( mbed-trace
|
||||||
|
# mbed_trace.c
|
||||||
|
# )
|
||||||
|
add_definitions("-g -O0")
|
||||||
|
# target_link_libraries(mbed-trace nanostack-libservice)
|
||||||
|
# else()
|
||||||
|
# add_library( mbed-trace
|
||||||
|
# mbed_trace.c
|
||||||
|
# )
|
||||||
|
# target_link_libraries(mbed-trace nanostack-libservice)
|
||||||
|
endif()
|
Loading…
Reference in New Issue