22 lines
652 B
CMake
22 lines
652 B
CMake
set(target ql_app_lvgl)
|
|
|
|
add_library(${target} STATIC)
|
|
set_target_properties(${target} PROPERTIES ARCHIVE_OUTPUT_DIRECTORY ${out_app_lib_dir})
|
|
target_compile_definitions(${target} PRIVATE OSI_LOG_TAG=LOG_TAG_QUEC)
|
|
target_include_directories(${target} PUBLIC inc)
|
|
#target_link_libraries(${target} PRIVATE kernel driver hal ql_api_common lvgl)
|
|
target_link_libraries(${target} PRIVATE lvgl)
|
|
target_sources(${target} PRIVATE
|
|
lvgl_demo.c
|
|
./ui/ui.c
|
|
./ui/ui_screen1.c
|
|
./ui/ui_screen2.c
|
|
./ui/ui_screen3.c
|
|
./ui/ui_screen3_chart.c
|
|
./ui/ui_screen4.c
|
|
./ui/fs_function.c
|
|
)
|
|
|
|
relative_glob(srcs include/*.h src/*.c inc/*.h)
|
|
beautify_c_code(${target} ${srcs})
|