Hello
in our company, we use different repositories for our code which results in different directories on the computer. Usually, we do not use Arduino but gcc and rake. However, there are some prototyping projects where we use the Arduino IDE and some parts of our code (from the repos).
Right now, we copy the needed header and source files manually into the Arduino project directory but we'd like to avoid this since this is a potential source of errors.
Is there anyway besides cloning all repos into the Arduino Lib directory to make the compiler find the repo folders?
You can use symlinks. This could be either into the libraries folder or into the src subfolder of the sketch folder (the contents of this folder is compiled recursively.