acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

CMakeLists.txt (450B)

      1 cmake_minimum_required(VERSION 3.12.4)
      2 
      3 if(NOT ESP_PLATFORM)
      4   project(TouchLib HOMEPAGE_URL https://github.com/mmMicky/TouchLib)
      5 endif()
      6 
      7 set(TOUCH_ROOT_DIR ${CMAKE_CURRENT_LIST_DIR})
      8 
      9 if(ESP_PLATFORM)
     10   
     11 file(GLOB_RECURSE SOURCES ${TOUCH_ROOT_DIR}/src/*.cpp
     12                           ${TOUCH_ROOT_DIR}/src/*.tpp )
     13 
     14 idf_component_register(SRCS ${SOURCES}
     15                         INCLUDE_DIRS "src/."
     16                         PRIV_REQUIRES )
     17 
     18 endif()