esp-idf/components/touch_element/test/CMakeLists.txt

11 lines
454 B
CMake
Raw Normal View History

set(TOUCH_ELEMENT_COMPATIBLE_TARGETS "esp32s2" "esp32s3")
if(IDF_TARGET IN_LIST TOUCH_ELEMENT_COMPATIBLE_TARGETS)
idf_component_register(SRCS "test_touch_element.c"
"test_touch_button.c"
"test_touch_slider.c"
"test_touch_matrix.c"
PRIV_REQUIRES unity touch_element)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
endif()