GeekTrack/2.Firmware/components/GeekOS/CMakeLists.txt

21 lines
528 B
CMake

if(ESP_PLATFORM)
file(GLOB_RECURSE SOURCES Pages/*.cpp
Resource/*.c
Common/*.cpp
System/*.cpp
System/*.c
System/PageManager/*.cpp
System/lv_ext/*.cpp
System/lv_ext/*.c
Resource/*.cpp
Resource/front/*.c)
idf_component_register(SRCS ${SOURCES}
INCLUDE_DIRS .
REQUIRES LVGL_CORE GeekHAL)
else()
message(FATAL_ERROR "LVGL LV examples: ESP_PLATFORM is not defined. Try reinstalling ESP-IDF.")
endif()