mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
* 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
18 lines
426 B
CMake
18 lines
426 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
file(GLOB_RECURSE SOURCES "src/*.c")
|
|
add_executable(app-sim ${SOURCES})
|
|
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=)
|