From e2f38abe6f051e14de10e20947c03abaa6587d3c Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Thu, 23 Jul 2020 14:11:22 +0100 Subject: [PATCH] CMake env: remove components, needs design first --- CMakeLists.txt | 8 -------- cmake/env.cmake | 6 ------ 2 files changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c39a4c066..317406cd90 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/cmake/env.cmake b/cmake/env.cmake index 5df29b45ce..b1bbcf4303 100644 --- a/cmake/env.cmake +++ b/cmake/env.cmake @@ -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 "")