CMakeLists.txt 358 B

1234567891011
  1. set(TOUCH_ELEMENT_COMPATIBLE_TARGETS "esp32s2" "esp32s3")
  2. if(IDF_TARGET IN_LIST TOUCH_ELEMENT_COMPATIBLE_TARGETS)
  3. idf_component_register(SRCS "touch_element.c"
  4. "touch_button.c"
  5. "touch_slider.c"
  6. "touch_matrix.c"
  7. INCLUDE_DIRS include
  8. REQUIRES driver
  9. PRIV_REQUIRES esp_timer)
  10. endif()