espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.65k stars 7.29k forks source link

custom CMake projects do not produce a project_description.json (IDFGH-5775) #7483

Open jdoubleu opened 3 years ago

jdoubleu commented 3 years ago

Environment

Problem Description

When using the custom CMake project setup, the project_description.json will not be generated. That file is crucial for other tools like idf.py monitor.

The project_description.json will only be created by the default setup from project.cmake.

It would be nice, if __project_info could be exposed somewhere else, for example in tools/cmake/idf.cmake so that custom CMake projects could include it to setup all necessary meta information.

EpicKiwi commented 5 months ago

Hey ! I have the same problem on a custom CMake project always failing with No such file or directory on project_description.json.

Did you found a workaround ?

KonstantinKondrashov commented 4 months ago

Hi @EpicKiwi! Could give more information about the use case? The original is quite old and for v4.3. Are you also faced with this issue on v4.3? Have you tried it on the master?