mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
* refactor modules * moved esp_lvgl_port to libs/ * added missing file * fix for sim build * various sim/pc fixes * lvgl improvements * added missing cmake files
23 lines
480 B
CMake
23 lines
480 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
set(BOARD_COMPONENTS tactility-esp)
|
|
|
|
if("${IDF_TARGET}" STREQUAL "esp32")
|
|
list(APPEND BOARD_COMPONENTS yellow_board)
|
|
endif()
|
|
|
|
# T-Deck is an S3 platform
|
|
if("${IDF_TARGET}" STREQUAL "esp32s3")
|
|
list(APPEND BOARD_COMPONENTS lilygo_tdeck)
|
|
endif()
|
|
|
|
idf_component_register(
|
|
SRC_DIRS "src"
|
|
"src/hello_world"
|
|
REQUIRES ${BOARD_COMPONENTS}
|
|
)
|
|
|
|
# TODO Remove?
|
|
target_link_libraries(${COMPONENT_LIB} ${IDF_TARGET_NAME} tactility)
|
|
|