1 Star 0 Fork 0

scriptiot/lv_examples

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 820 Bytes
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 3.12.4)
project(lv_demos HOMEPAGE_URL https://github.com/lvgl/lv_demos)
# Option to define LV_DEMO_CONF_INCLUDE_SIMPLE, default: ON
option(LV_DEMO_CONF_INCLUDE_SIMPLE "Simple include of \"lv_demo_conf.h\"" ON)
# Option to set LV_DEMO_CONF_PATH, if set parent path LV_DEMO_CONF_DIR is added
# to includes
option(LV_DEMO_CONF_PATH "Path defined for lv_demo_conf.h")
get_filename_component(LV_DEMO_CONF_DIR ${LV_DEMO_CONF_PATH} DIRECTORY)
file(GLOB_RECURSE SOURCES src/*.c)
add_library(lv_demos STATIC ${SOURCES})
add_library(lvgl_demos ALIAS lv_demos)
add_library(lvgl::demos ALIAS lv_demos)
target_include_directories(lv_demos SYSTEM PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
${LV_DEMO_CONF_DIR})
target_link_libraries(lv_demos PUBLIC lvgl)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/scriptiot/lv_examples.git
[email protected]:scriptiot/lv_examples.git
scriptiot
lv_examples
lv_examples
master

搜索帮助