mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Add support for cmsis dir
parent
6dc5f5a582
commit
d83648937f
|
@ -0,0 +1,13 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
mbed_add_cmake_directory_if_labels("TARGET")
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
RTE_Components.h
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
irq_ctrl_gic.c
|
||||
)
|
||||
|
||||
if(${MBED_TOOLCHAIN} STREQUAL "IAR")
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
TOOLCHAIN_IAR/cmain.S
|
||||
)
|
||||
endif()
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
|
@ -0,0 +1,12 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_sources(mbed-os
|
||||
PRIVATE
|
||||
mbed_tz_context.c
|
||||
)
|
||||
|
||||
target_include_directories(mbed-os
|
||||
PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
Loading…
Reference in New Issue