ESP32_Alexa
ESP32_Alexa copied to clipboard
CMakeLists.txt problem
Hi . I use esp-idf v4.2 in Eclipse in windows 10. I wana run this project. buf have a problem ...
How can I add component directory and sub directories for include *.c & *.h files to project? This is the cmakelist.txt in root directory :
cmake_minimum_required(VERSION 3.5)
include($ENV{IDF_PATH}/tools/cmake/project.cmake) project(alexa)
and this is in main directory : idf_component_register(SRCS "app_main.c" INCLUDE_DIRS ".")
Can u tell me what I write in cmakelist.txt completely and change whose that?