configularor/CMakeLists.txt
2024-08-01 22:54:42 -07:00

14 lines
299 B
CMake

set(REQUIRES "")
set(SRCS "src/configulator.c")
if(${ESP_PLATFORM})
list(APPEND REQUIRES nvs_flash esp_event)
list(APPEND SRCS src/cfglr_nvs.c src/cfglr_signal_idf_event.c)
endif()
idf_component_register(
SRCS ${SRCS}
INCLUDE_DIRS "include"
# if platform esp...
REQUIRES ${REQUIRES}
)