2019-04-06 21:08:09 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-03-25 08:27:48 +08:00
|
|
|
zephyr_interface_library_named(lvgl)
|
|
|
|
|
|
|
|
target_include_directories(lvgl INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
|
|
|
|
zephyr_library()
|
|
|
|
|
2020-08-26 17:35:28 +08:00
|
|
|
zephyr_library_sources(lvgl.c)
|
2019-07-30 01:56:37 +08:00
|
|
|
zephyr_library_sources(lvgl_display.c)
|
|
|
|
zephyr_library_sources(lvgl_display_mono.c)
|
|
|
|
zephyr_library_sources(lvgl_display_16bit.c)
|
|
|
|
zephyr_library_sources(lvgl_display_24bit.c)
|
|
|
|
zephyr_library_sources(lvgl_display_32bit.c)
|
2020-08-26 17:35:28 +08:00
|
|
|
zephyr_library_sources_ifdef(CONFIG_LVGL_USE_FILESYSTEM lvgl_fs.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_LVGL_MEM_POOL_USER lvgl_mem_user.c)
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_LVGL_MEM_POOL_KERNEL lvgl_mem_kernel.c)
|
2018-03-25 08:27:48 +08:00
|
|
|
|
|
|
|
zephyr_library_link_libraries(lvgl)
|