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:
committed by
GitHub
parent
18a5c5aa45
commit
d6baf40d0b
+11
-4
@@ -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=)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user