CMake env: remove components, needs design first

pull/13566/head
Martin Kojtal 2020-07-23 14:11:22 +01:00 committed by Hugues Kamba
parent b03e94f98b
commit e2f38abe6f
2 changed files with 0 additions and 14 deletions

View File

@ -31,11 +31,3 @@ add_subdirectory(platform)
add_subdirectory(rtos)
add_subdirectory(storage)
add_subdirectory(targets)
# Add additional component
get_property(component GLOBAL PROPERTY MBED_COMPONENT)
foreach(module ${component})
add_subdirectory(${module})
endforeach()

View File

@ -9,9 +9,3 @@ set(CMAKE_CXX_COMPILER_WORKS TRUE)
# Project setup
enable_language(C CXX ASM)
# Enabled components within a project
# TODO: @mbed-os-tools This needs to come from tools
# If this is a list like rtos/wifi/networking, we need to figure out the path in Mbed OS (have dictionary or
# something similar). The best would be if this list contains list of module paths (rtos/ features/ble etc)
set_property(GLOBAL PROPERTY MBED_COMPONENTS "")