configulator/CMakeLists.txt

15 lines
262 B
Text
Raw Normal View History

set(REQUIRES "")
2024-07-31 15:51:12 -04:00
set(SRCS "src/configulator.c")
if(${ESP_PLATFORM})
list(APPEND REQUIRES nvs_flash)
2024-07-31 15:51:12 -04:00
list(APPEND SRCS "src/cfglr_nvs.c")
endif()
idf_component_register(
2024-07-31 15:51:12 -04:00
SRCS ${SRCS}
INCLUDE_DIRS "include"
# if platform esp...
REQUIRES ${REQUIRES}
)