Files
system-control/components/ruth/CMakeLists.txt
Peter Siegmund a0fe4ba538 code optimization
- lifecycle functions for widgets
- persistence functions

Signed-off-by: Peter Siegmund <developer@mars3142.org>
2025-06-20 20:53:13 +02:00

21 lines
416 B
CMake

if (DEFINED ENV{IDF_PATH})
idf_component_register(SRCS
espressif/persistence.c
INCLUDE_DIRS "include"
PRIV_REQUIRES
nvs_flash
)
return()
endif ()
cmake_minimum_required(VERSION 3.30)
project(ruth)
add_library(${PROJECT_NAME} STATIC
persistence.c
)
include_directories(include)
target_include_directories(${PROJECT_NAME} PUBLIC include)