esp-idf/examples/peripherals/analog_comparator/main/CMakeLists.txt

11 lines
245 B
CMake
Raw Normal View History

set(src "ana_cmpr_example_main.c")
if(CONFIG_EXAMPLE_USE_ETM)
list(APPEND src "ana_cmpr_example_etm.c")
else()
list(APPEND src "ana_cmpr_example_intr.c")
endif()
idf_component_register(SRCS ${src}
INCLUDE_DIRS ".")