configulator/CMakeLists.txt
Morgan 'ARR\!' Allen b97c7818f5 ALL THE CHANGES
2024-12-01 23:13:51 -08:00

18 lines
420 B
CMake

set(REQUIRES "")
set(SRCS src/configulator.c src/cfglr_signal_callback.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()
# make LVGL configurable
list(APPEND REQUIRES lvgl)
list(APPEND SRCS src/cfglr_signal_lvgl.c)
idf_component_register(
SRCS ${SRCS}
INCLUDE_DIRS "include"
# if platform esp...
REQUIRES ${REQUIRES}
)