Tactility/TactilityFreeRtos/CMakeLists.txt
Ken Van Hoeylandt a935410f82
Kernel and buildscript improvements (#477)
* **New Features**
  * Centralized module management with global symbol resolution
  * Level-aware logging with colored prefixes and millisecond timestamps

* **Breaking Changes**
  * ModuleParent hierarchy and getModuleParent() removed
  * Logging API and adapter model replaced; LogLevel-driven log_generic signature changed

* **Improvements**
  * Unified, simplified module registration across build targets
  * Tests updated to reflect new module lifecycle and global symbol resolution
2026-02-03 08:35:29 +01:00

22 lines
396 B
CMake

cmake_minimum_required(VERSION 3.20)
if (DEFINED ENV{ESP_IDF_VERSION})
idf_component_register(
INCLUDE_DIRS "Include/"
REQUIRES esp_timer
)
else()
add_library(TactilityFreeRtos INTERFACE)
target_include_directories(TactilityFreeRtos
INTERFACE Include/
)
target_link_libraries(TactilityFreeRtos
INTERFACE freertos_kernel
)
endif()