Hello,
I have an ESP32 project in which I use a cmake library like described in Build System - ESP32 - — ESP-IDF Programming Guide latest documentation .
So i just add something like this to my CMakeLists.txt in the src dir:
add_subdirectory(mylib)
target_link_libraries(${COMPONENT_LIB} PRIVATE mylib)
Unfortunately the generated c_cpp_properties.json does not contain the include paths of the library.
I can of course workaround that by manually adding the include paths to my build_flags in platformio.ini but it would be nice if include paths of cmake libraries are automatically added.