mirror of https://github.com/ARMmbed/mbed-os.git
53 lines
1.2 KiB
CMake
53 lines
1.2 KiB
CMake
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
if("CORTEX_A" IN_LIST MBED_TARGET_LABELS)
|
|
add_subdirectory(TARGET_CORTEX_A)
|
|
elseif("CORTEX_M" IN_LIST MBED_TARGET_LABELS)
|
|
add_subdirectory(TARGET_CORTEX_M)
|
|
endif()
|
|
|
|
add_subdirectory(minimal-printf)
|
|
|
|
target_include_directories(mbed-core
|
|
INTERFACE
|
|
.
|
|
)
|
|
|
|
target_sources(mbed-core
|
|
INTERFACE
|
|
ATCmdParser.cpp
|
|
CThunkBase.cpp
|
|
CriticalSectionLock.cpp
|
|
DeepSleepLock.cpp
|
|
FileBase.cpp
|
|
FileHandle.cpp
|
|
FilePath.cpp
|
|
FileSystemHandle.cpp
|
|
LocalFileSystem.cpp
|
|
Stream.cpp
|
|
SysTimer.cpp
|
|
mbed_alloc_wrappers.cpp
|
|
mbed_application.c
|
|
mbed_assert.c
|
|
mbed_atomic_impl.c
|
|
mbed_board.c
|
|
mbed_critical.c
|
|
mbed_error.c
|
|
mbed_error_hist.c
|
|
mbed_interface.c
|
|
mbed_mem_trace.cpp
|
|
mbed_mktime.c
|
|
mbed_mpu_mgmt.c
|
|
mbed_os_timer.cpp
|
|
mbed_poll.cpp
|
|
mbed_power_mgmt.c
|
|
mbed_retarget.cpp
|
|
mbed_rtc_time.cpp
|
|
mbed_sdk_boot.c
|
|
mbed_semihost_api.c
|
|
mbed_stats.c
|
|
mbed_thread.cpp
|
|
mbed_wait_api_no_rtos.c
|
|
)
|