configularor/CMakeLists.txt

19 lines
394 B
Text
Raw Permalink Normal View History

set(REQUIRES "")
2024-07-31 15:51:12 -04:00
set(SRCS "src/configulator.c")
if(${ESP_PLATFORM})
2024-08-02 01:54:42 -04:00
list(APPEND REQUIRES nvs_flash esp_event)
list(APPEND SRCS src/cfglr_nvs.c src/cfglr_signal_idf_event.c)
endif()
# make LVGL configurable
list(APPEND REQUIRES lvgl)
list(APPEND SRCS src/cfglr_signal_lvgl.c)
idf_component_register(
2024-07-31 15:51:12 -04:00
SRCS ${SRCS}
INCLUDE_DIRS "include"
# if platform esp...
REQUIRES ${REQUIRES}
)