How do you install an Arduino library so it's only available for a specific project?
Say I have a codebase located at /myproject, and I want to install libraries at /myproject/lib/somelib. I can't find how to make arduino myproject.ino
find the libraries under ./lib.
Googling "installing Arduino libraries" only finds me examples of installing libraries globally (and through the GUI no less), which is horrible practice and guarantees version conflicts.
When I used ino
, it supported a local ./lib directory, but I can't find any equivalent feature in arduino
.
#include lib/somelib/libheader.h
work?