Skip to content

Commit

Permalink
Add lvgl test with cmake
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed May 5, 2024
1 parent d078157 commit ceca70a
Show file tree
Hide file tree
Showing 3 changed files with 1,099 additions and 0 deletions.
25 changes: 25 additions & 0 deletions tests/lvgl/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.12.4)
project(lvgl-dpf-tests)
set(CMAKE_CXX_STANDARD 11)

set(LV_CONF_PATH "${PROJECT_SOURCE_DIR}/lv_conf.h")

add_subdirectory(${PROJECT_SOURCE_DIR}/../../../DPF ${PROJECT_SOURCE_DIR}/dpf-bin)
add_subdirectory(lvgl ${PROJECT_SOURCE_DIR}/lvgl-bin)

dpf__add_dgl_opengl(FALSE)

add_executable(lvgl-dpf-tests)

target_link_libraries(lvgl-dpf-tests
PRIVATE
dgl-opengl
lvgl::demos
lvgl::lvgl
)

target_sources(lvgl-dpf-tests
PRIVATE
lvgl.cpp
${PROJECT_SOURCE_DIR}/../../opengl/LVGL.cpp
)
Loading

0 comments on commit ceca70a

Please sign in to comment.