CMakeLists.txt 383 B

123456789101112
  1. set(require_list chip driver)
  2. if(${IDF_TARGET} STREQUAL "esp32")
  3. list(APPEND require_list tft)
  4. endif()
  5. idf_component_register(SRCS "Display.cpp"
  6. "ScreenManager.cpp"
  7. "Screen.cpp"
  8. "ListScreen.cpp"
  9. INCLUDE_DIRS "include"
  10. REQUIRES ${require_list})