Tactiliest/app-esp/CMakeLists.txt
Ken Van Hoeylandt 6bd65abbb4
Tactility modules refactored (#13)
* 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
2024-01-20 14:10:19 +01:00

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)