mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 02:43:15 +00:00
29 lines
563 B
CMake
29 lines
563 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
include("${CMAKE_CURRENT_LIST_DIR}/../Buildscripts/module.cmake")
|
|
|
|
list(APPEND REQUIRES_LIST
|
|
lvgl
|
|
)
|
|
|
|
list(APPEND PRIV_REQUIRES_LIST
|
|
Tactility
|
|
TactilityCore
|
|
TactilityKernel
|
|
mbedtls
|
|
)
|
|
|
|
if (DEFINED ENV{ESP_IDF_VERSION})
|
|
list(APPEND PRIV_REQUIRES_LIST elf_loader)
|
|
endif ()
|
|
|
|
file(GLOB_RECURSE SOURCE_FILES Source/*.c*)
|
|
|
|
tactility_add_module(TactilityC
|
|
SRCS ${SOURCE_FILES}
|
|
INCLUDE_DIRS Include/
|
|
PRIV_INCLUDE_DIRS Private/
|
|
REQUIRES ${REQUIRES_LIST}
|
|
PRIV_REQUIRES ${PRIV_REQUIRES_LIST}
|
|
)
|