How to #include an external library when building an extension?


I want to include an external library (example: when creating an extension. How to do that?

When I am using the Arduino IDE, I can just use the library manager (shown below). How do do that for the extensions?

(How to include a library like this when making an extension in mblock?)

I see that it has a place to include .pp and .h files but how to include the entire library from a repo like this:

Any example or demo or video would really help.


Upload all the .cpp and .h files he uploaded in the “src” folder: