mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
09cfb92bd4
app_rainmaker: Minor restructuring for easier maintainability.
13 lines
408 B
CMake
13 lines
408 B
CMake
set(SRCS_LIST )
|
|
set(REQUIRES_LIST esp_matter)
|
|
|
|
idf_build_get_property(rainmaker_enabled RAINMAKER_ENABLED)
|
|
if (${rainmaker_enabled})
|
|
list(APPEND SRCS_LIST esp_matter_rainmaker.cpp)
|
|
list(APPEND REQUIRES_LIST esp_rainmaker)
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${SRCS_LIST}
|
|
INCLUDE_DIRS "."
|
|
REQUIRES ${REQUIRES_LIST})
|