123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- # Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
- # All rights reserved.
- #
- # This software is supplied "AS IS" without any warranties.
- # RDA assumes no responsibility or liability for the use of the software,
- # conveys no license or title under any patent, copyright, or mask work
- # right to the product. RDA reserves the right to make changes in the
- # software without notification. RDA also make no representation or
- # warranty that such application will be suitable for the specified use
- # without further testing or modification.
- #configure_file(include/lv_gui_config.h.in ${out_inc_dir}/lv_gui_config.h)
- set(target lvgl)
- #add_app_libraries($<TARGET_FILE:${target}>)
- 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_LVGL)
- target_include_directories(${target} PUBLIC ${CMAKE_CURRENT_SRC_DIR} lvgl include)
- #target_link_libraries(${target} PRIVATE kernel driver hal ql_api_common)
- target_sources(${target} PRIVATE
- lvgl/src/lv_core/lv_group.c
- lvgl/src/lv_core/lv_indev.c
- lvgl/src/lv_core/lv_disp.c
- lvgl/src/lv_core/lv_obj.c
- lvgl/src/lv_core/lv_refr.c
- lvgl/src/lv_core/lv_style.c
- lvgl/src/lv_core/lv_debug.c
- lvgl/src/lv_draw/lv_draw_basic.c
- lvgl/src/lv_draw/lv_draw.c
- lvgl/src/lv_draw/lv_draw_rect.c
- lvgl/src/lv_draw/lv_draw_label.c
- lvgl/src/lv_draw/lv_draw_line.c
- lvgl/src/lv_draw/lv_draw_img.c
- lvgl/src/lv_draw/lv_draw_arc.c
- lvgl/src/lv_draw/lv_draw_triangle.c
- lvgl/src/lv_draw/lv_img_decoder.c
- lvgl/src/lv_draw/lv_img_cache.c
- lvgl/src/lv_font/lv_font.c
- lvgl/src/lv_font/lv_font_fmt_txt.c
- lvgl/src/lv_font/lv_font_roboto_12.c
- lvgl/src/lv_font/lv_font_roboto_16.c
- lvgl/src/lv_font/lv_font_roboto_22.c
- lvgl/src/lv_font/lv_font_roboto_28.c
- lvgl/src/lv_font/lv_font_unscii_8.c
- lvgl/src/lv_hal/lv_hal_disp.c
- lvgl/src/lv_hal/lv_hal_indev.c
- lvgl/src/lv_hal/lv_hal_tick.c
- lvgl/src/lv_misc/lv_circ.c
- lvgl/src/lv_misc/lv_area.c
- lvgl/src/lv_misc/lv_task.c
- lvgl/src/lv_misc/lv_fs.c
- lvgl/src/lv_misc/lv_anim.c
- lvgl/src/lv_misc/lv_mem.c
- lvgl/src/lv_misc/lv_ll.c
- lvgl/src/lv_misc/lv_color.c
- lvgl/src/lv_misc/lv_txt.c
- lvgl/src/lv_misc/lv_math.c
- lvgl/src/lv_misc/lv_log.c
- lvgl/src/lv_misc/lv_gc.c
- lvgl/src/lv_misc/lv_utils.c
- lvgl/src/lv_misc/lv_async.c
- lvgl/src/lv_misc/lv_printf.c
- lvgl/src/lv_misc/lv_bidi.c
- lvgl/src/lv_objx/lv_arc.c
- lvgl/src/lv_objx/lv_bar.c
- lvgl/src/lv_objx/lv_cb.c
- lvgl/src/lv_objx/lv_cpicker.c
- lvgl/src/lv_objx/lv_ddlist.c
- lvgl/src/lv_objx/lv_kb.c
- lvgl/src/lv_objx/lv_line.c
- lvgl/src/lv_objx/lv_mbox.c
- lvgl/src/lv_objx/lv_preload.c
- lvgl/src/lv_objx/lv_roller.c
- lvgl/src/lv_objx/lv_table.c
- lvgl/src/lv_objx/lv_tabview.c
- lvgl/src/lv_objx/lv_tileview.c
- lvgl/src/lv_objx/lv_btn.c
- lvgl/src/lv_objx/lv_calendar.c
- lvgl/src/lv_objx/lv_chart.c
- lvgl/src/lv_objx/lv_canvas.c
- lvgl/src/lv_objx/lv_gauge.c
- lvgl/src/lv_objx/lv_label.c
- lvgl/src/lv_objx/lv_list.c
- lvgl/src/lv_objx/lv_slider.c
- lvgl/src/lv_objx/lv_ta.c
- lvgl/src/lv_objx/lv_spinbox.c
- lvgl/src/lv_objx/lv_btnm.c
- lvgl/src/lv_objx/lv_cont.c
- lvgl/src/lv_objx/lv_img.c
- lvgl/src/lv_objx/lv_imgbtn.c
- lvgl/src/lv_objx/lv_led.c
- lvgl/src/lv_objx/lv_lmeter.c
- lvgl/src/lv_objx/lv_page.c
- lvgl/src/lv_objx/lv_sw.c
- lvgl/src/lv_objx/lv_win.c
- lvgl/src/lv_themes/lv_theme_alien.c
- lvgl/src/lv_themes/lv_theme.c
- lvgl/src/lv_themes/lv_theme_default.c
- lvgl/src/lv_themes/lv_theme_night.c
- lvgl/src/lv_themes/lv_theme_templ.c
- lvgl/src/lv_themes/lv_theme_zen.c
- lvgl/src/lv_themes/lv_theme_material.c
- lvgl/src/lv_themes/lv_theme_nemo.c
- lvgl/src/lv_themes/lv_theme_mono.c
- )
- relative_glob(srcs include/*.h src/*.c inc/*.h)
- beautify_c_code(${target} ${srcs})
|