mirror of https://github.com/ARMmbed/mbed-os.git
CMake env: remove components, needs design first
parent
b03e94f98b
commit
e2f38abe6f
|
@ -31,11 +31,3 @@ add_subdirectory(platform)
|
||||||
add_subdirectory(rtos)
|
add_subdirectory(rtos)
|
||||||
add_subdirectory(storage)
|
add_subdirectory(storage)
|
||||||
add_subdirectory(targets)
|
add_subdirectory(targets)
|
||||||
|
|
||||||
|
|
||||||
# Add additional component
|
|
||||||
get_property(component GLOBAL PROPERTY MBED_COMPONENT)
|
|
||||||
|
|
||||||
foreach(module ${component})
|
|
||||||
add_subdirectory(${module})
|
|
||||||
endforeach()
|
|
||||||
|
|
|
@ -9,9 +9,3 @@ set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||||
|
|
||||||
# Project setup
|
# Project setup
|
||||||
enable_language(C CXX ASM)
|
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 "")
|
|
||||||
|
|
Loading…
Reference in New Issue