A macro can be used to point to a source base (or library version) and changed to move to another source base. This is particularly useful in MPLAB Harmony applications.
Open a project in MPLAB X IDE and select File>Project Properties. Click on the “General” category and click “Browse” next to “Macro.” Find and Open the folder containing the source base. Click OK. In the project, open file(s) from this source base as “Relative to Macro.”
To change to another source base, browse to the folder that contains the new source base under “Macro” and select it. Any files from the old source base that match the new source base will now refer to the new source base.