ESP32_Alexa icon indicating copy to clipboard operation
ESP32_Alexa copied to clipboard

CMakeLists.txt problem

Open amir-mhdi opened this issue 4 years ago • 0 comments

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?

amir-mhdi avatar Jan 24 '21 08:01 amir-mhdi