Tactility/TactilityKernel/CMakeLists.txt
Ken Van Hoeylandt 9a11e6f47b
Implement UI scaling and more (#501)
**New Features**
 * Runtime font accessors and new symbol fonts for text, launcher, statusbar, and shared icons.
 * Added font height base setting to device.properties
 * Text fonts now have 3 sizes: small, default, large

**Improvements**
 * Renamed `UiScale` to `UiDensity`
 * Statusbar, toolbar and many UI components now compute heights and spacing from fonts/density.
 * SSD1306 initialization sequence refined for more stable startup.
 * Multiple image assets replaced by symbol-font rendering.
 * Many layout improvements related to density, font scaling and icon scaling
 * Updated folder name capitalization for newer style
2026-02-15 01:41:47 +01:00

21 lines
538 B
CMake

cmake_minimum_required(VERSION 3.20)
include("${CMAKE_CURRENT_LIST_DIR}/../Buildscripts/module.cmake")
file(GLOB_RECURSE SOURCE_FILES "source/*.c**")
list(APPEND REQUIRES_LIST)
if (DEFINED ENV{ESP_IDF_VERSION})
# TODO move the related logic for esp_time in Tactility/time.h into the Platform/ subproject
list(APPEND REQUIRES_LIST esp_timer)
else ()
list(APPEND REQUIRES_LIST freertos_kernel)
endif ()
tactility_add_module(TactilityKernel
SRCS ${SOURCE_FILES}
INCLUDE_DIRS include/
REQUIRES ${REQUIRES_LIST}
)