set(SOURCES "./main.c" "./Mic_Control/Mic.c" "./LED_Control/LED.c" ) set(INCLUDE_DIRS "." "./Mic_Control" "./LED_Control" ) idf_component_register( SRCS ${SOURCES} INCLUDE_DIRS ${INCLUDE_DIRS} )