brtaylor
Well-known member
I have a sketch that depends on several libraries. Instead of using the libraries in my "Arduino/libraries" folder, I would like to use local copies instead. The purpose is to enable me to freeze the library versions for this project, along with any necessary modifications, and keep the latest versions in the "Arduino/libraries" folder for general testing and prototyping. I've read suggestions of creating a folder in the sketch and putting the libraries in there, i.e.
However, this requires changing the path for my includes to point at the local folder. Also for any libraries that depend on other libraries, I need to change their path as well. Is there a better approach?
Code:
test.ino
/lib
/lib/SdFat
/lib/mpu6500
However, this requires changing the path for my includes to point at the local folder. Also for any libraries that depend on other libraries, I need to change their path as well. Is there a better approach?