mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-18 10:53:17 +00:00
**New features** - Created a devicetree DTS and YAML parser in Python - Created new modules: - TactilityKernel (LGPL v3.0 license) - Platforms/PlatformEsp32 (LGPL v3.0 license) - Platforms/PlatformPosix (LGPL v3.0 license) - Tests/TactilityKernelTests Most boards have a placeholder DTS file, while T-Lora Pager has a few devices attached. **Licenses** Clarified licenses and copyrights better. - Add explanation about the intent behind them. - Added explanation about licenses for past and future subprojects - Added more details explanations with regards to the logo usage - Copied licenses to subprojects to make it more explicit
30 lines
609 B
CMake
30 lines
609 B
CMake
cmake_minimum_required(VERSION 3.20)
|
|
|
|
if (DEFINED ENV{ESP_IDF_VERSION})
|
|
idf_component_register(
|
|
SRC_DIRS "Source/"
|
|
INCLUDE_DIRS "Source/"
|
|
PRIV_INCLUDE_DIRS "Private/"
|
|
REQUIRES lvgl
|
|
)
|
|
|
|
else()
|
|
file(GLOB SOURCES "Source/*.c*")
|
|
file(GLOB HEADERS "Source/*.h*")
|
|
|
|
add_library(lv_screenshot STATIC)
|
|
|
|
target_sources(lv_screenshot
|
|
PRIVATE ${SOURCES}
|
|
PUBLIC ${HEADERS}
|
|
)
|
|
|
|
target_include_directories(lv_screenshot
|
|
PRIVATE Private
|
|
PUBLIC Source
|
|
)
|
|
|
|
target_link_libraries(lv_screenshot
|
|
PUBLIC lvgl
|
|
)
|
|
endif() |