Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMakeLists.txt problem #44

Open
amir-mhdi opened this issue Jan 24, 2021 · 0 comments
Open

CMakeLists.txt problem #44

amir-mhdi opened this issue Jan 24, 2021 · 0 comments

Comments

@amir-mhdi
Copy link

amir-mhdi commented Jan 24, 2021

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 amir-mhdi changed the title CMake Error: The source directory "ESP32_Alexa-master" does not appear to contain CMakeLists.txt. CMakeLists.txt problem Jan 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant