ESP32-Template/main/CMakeLists.txt

11 lines
221 B
CMake
Executable File

file(GLOB_RECURSE SRCS
"*.c" # Include all .c files in src directory
"api/*.c" # Include all .c files in src/api directory
)
idf_component_register(
SRCS "${SRCS}"
INCLUDE_DIRS "." "api"
)