Implement LVGL with SDL for simulator (#16)

* Implemented LVGL with SDL for simulator

* cleanup

* added SDL to build

* build fix

* mutex fixes

* sim app cleanup and improvements

* docs updated

* fix for sdl?

* fix for SDL cmake setup
This commit is contained in:
Ken Van Hoeylandt
2024-01-21 22:27:00 +01:00
committed by GitHub
parent 18a5c5aa45
commit d6baf40d0b
118 changed files with 15327 additions and 1181 deletions
+11 -4
View File
@@ -1,10 +1,17 @@
cmake_minimum_required(VERSION 3.16)
file(GLOB SOURCES "src/*.c")
file(GLOB_RECURSE SOURCES "src/*.c")
add_executable(app-sim ${SOURCES})
target_link_libraries(app-sim PRIVATE tactility)
target_link_libraries(app-sim PRIVATE tactility-core)
target_link_libraries(app-sim
PRIVATE tactility
PRIVATE tactility-core
PRIVATE lvgl
PRIVATE lv_drivers
)
find_package(SDL2 REQUIRED CONFIG)
target_link_libraries(app-sim PRIVATE ${SDL2_LIBRARIES})
include_directories(${SDL2_INCLUDE_DIRS})
add_definitions(-D_Nullable=)
add_definitions(-D_Nonnull=)