We're using a dependency manager for our CI pipeline as well as swap in hardware modules based on board revisions. This works fine for source files and libraries, but we're struggling on how to properly link to the list of libraries an application is dependent on. We've tried using "Additional Linker Options From File", but that puts -l flags before the object files, which gcc doesn't accept.
We'd prefer not to manually add the list of libraries in the project since we don't want upstream dependency changes to break the build. Is there a better way of doing this?
We'd prefer not to manually add the list of libraries in the project since we don't want upstream dependency changes to break the build. Is there a better way of doing this?