mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 19:03:16 +00:00
- Created `tactility-headless` to support ESP32 firmwares that don't require graphics - `tactility` subproject now contains both PC and ESP32 code (to avoid having to split up `tactility` and `tactility-headless` into separate projects, which would result in a very complex dependency tree) - `tactility` subproject is now defined as component for ESP32 and as regular module for PC - Improvements for dispatcher - Added `project-structure.puml` to docs - `Gui` service now depends on `Loader` service instead of the reverse - Added `statusbar_updater` service for updating Wi-Fi and SD card icons
18 lines
434 B
CMake
18 lines
434 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 tactility-headless
|
|
PRIVATE lvgl
|
|
)
|
|
|
|
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=)
|