mirror of
https://github.com/garagetinkering/Video_Game_Mini_Maps.git
synced 2026-01-17 17:47:00 +01:00
initial commit
This commit is contained in:
15
main/CMakeLists.txt
Normal file
15
main/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
set(LV_DEMO_DIR ../managed_components/lvgl__lvgl/demos)
|
||||
file(GLOB_RECURSE LV_DEMOS_SOURCES ${LV_DEMO_DIR}/*.c)
|
||||
|
||||
idf_component_register(
|
||||
SRCS main.cpp ${LV_DEMOS_SOURCES}
|
||||
INCLUDE_DIRS "." "images" "fonts" ${LV_DEMO_DIR}
|
||||
)
|
||||
|
||||
idf_component_get_property(LVGL_LIB lvgl__lvgl COMPONENT_LIB)
|
||||
target_compile_options(
|
||||
${LVGL_LIB}
|
||||
PRIVATE
|
||||
-DLV_LVGL_H_INCLUDE_SIMPLE
|
||||
-DLV_USE_DEMO_MUSIC
|
||||
)
|
||||
Reference in New Issue
Block a user