Files
Chirag Atal 09cfb92bd4 esp_matter_rainmaker: Moving the custom rainmaker cluster from the application to this component
app_rainmaker: Minor restructuring for easier maintainability.
2022-04-04 11:21:44 +05:30

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})