add some code
This commit is contained in:
15
managed_components/78__xiaozhi-fonts/CMakeLists.txt
Normal file
15
managed_components/78__xiaozhi-fonts/CMakeLists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
file(GLOB SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/*.c)
|
||||
file(GLOB EMOJI_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/src/emoji/*.c)
|
||||
|
||||
idf_component_register(
|
||||
SRCS
|
||||
${SOURCES}
|
||||
${EMOJI_SOURCES}
|
||||
INCLUDE_DIRS
|
||||
"include"
|
||||
PRIV_REQUIRES
|
||||
"lvgl"
|
||||
)
|
||||
|
||||
# 为组件添加编译宏定义
|
||||
target_compile_definitions(${COMPONENT_LIB} PUBLIC LV_LVGL_H_INCLUDE_SIMPLE)
|
||||
Reference in New Issue
Block a user