copy libraries instead of linking #1436
-
Hi, I'd like to have the libraries used in a project in git as well. How can I achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
yes it is possible but what do you want? There are many ways to understand the request "I'd like to have the libraries used in a project in git as well." The 2 ways I advice to use libraries is
|
Beta Was this translation helpful? Give feedback.
-
Hi jantje, Thanks for your answer. |
Beta Was this translation helpful? Give feedback.
-
Sloeber uses the CDT indexer to search for "unresolved includes" (some more background info on includes and unresolved include https://www.youtube.com/watch?v=5Yi5xeeqlsk ) If you enabled the functionality sloeber searches the installed libraries for matches. (This process can go wrong resulting in unwanted libraries including even more libraries) The private library locationsThe installed librariesThe provided library json filesIf no matching library is found Sloeber checks the option. If this option is not set sloeber stops searching. If the option is set sloeber checks the provided library json's for candidates and installs the library if a match is found. If Sloeber added a library to the project the indexer will be triggered to scan the code. When the CDT index scan is done; Sloeber will ask the indexer for unresolved inclusions which may lead to new libraries added to the project. |
Beta Was this translation helpful? Give feedback.
Sloeber uses the CDT indexer to search for "unresolved includes" (some more background info on includes and unresolved include https://www.youtube.com/watch?v=5Yi5xeeqlsk )
When the CDT indexer finds unresolved includes sloeber checks whether you want Sloeber to try to resolve these. If you disable this functionality Sloeber does nothing.
If you enabled the functionality sloeber searches the installed libraries for matches. (This process can go wrong resulting in unwanted libraries including even more libraries)
Sloeber searches first the libraries provided by the platform containing the board, then the libraries provided by the private hardware and then the libraries installed by the li…