-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Adding support of "additional library directories" to IDE & compilation #8221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
...tion This commit adds support of "additional library directories" to IDE (supporting File/Examples menu, Sketch/Include Library menu and keywords highlighting), and compilation process (by send additional -libraries options to arduino-builder). Those additional library directories are setup in preferences.txt, using addition_librarydirectories=[/path/1;[/path2[;<etc>]]] option
Hi @facchinm ! Newbie question : you've added this PR to "1.8.8 milestone". Where could I read the meaning of this (in term of review, merge, etc.) ?
It simply means that it will be analyzed before the 1.8.8 release to decide if it's ok to merge or if we need to wait a little bit 🙂
If we want to implement this we should port in the arduino-cli
first.
CLAassistant
commented
Apr 9, 2021
CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Uh oh!
There was an error while loading. Please reload this page.
This commit adds support of "additional library directories" to IDE
(supporting File/Examples menu, Sketch/Include Library menu and
keywords highlighting), and compilation process (by sending additional
-libraries options to arduino-builder).
Those additional library directories (one or more) are setup by adding an
option to preferences.txt :
additional_library_directories=/path/to/FreeIMU-Updates;[/mnt/ardether[;etc.]]
Use case : you need to use libs from a (different) git repository staying outside your arduino directory/sketchbook.
Those additional libraries are included as Location.ADDITIONAL.
Modified priorities become Location.SKETCHBOOK > Location.ADDITIONAL > Location.CORE > Location.REFERENCED_CORE > Location.IDE_BUILTIN