I have been suggested to put different libraries into a components folder and address them using CMakeList.txt .
My folder structure lookslike this:
Code: Select all
- main
main.c
- components
-Lib_A
aa.c
aa.h
- A1
bb.c
bb.h
_ A2
dd.c
dd.h
-Lib_B
ee.c
ee.h
- B1
ff.c
ff.h
- B2
gg.c
gg.h
I put this in the CMakeList:
Code: Select all
set(EXTRA_COMPONENT_DIRS "components")
Code: Select all
#include "dd.h"
Code: Select all
fatal error: dd.h: No such file or directory
https://docs.espressif.com/projects/esp ... ystem.html
What is the solution?
Thanks