As I have been building a collection of utility classes and functions for Raspberry Pi projects. I decided to enclose them all in a static lib project.
But I am having a lot of trouble with the new projects that use this library. I build a project for MyLibs, and have no problems at all creating a usable static lib.
But If I create a solution with the main and library projects, I find I am unable to set a dependency on the library, which will build, and I can see the newer MyLibs.a being stored on my target, but the main project seem to also try to build MyLibs and finds no makefile to build it. So it fails.
Removing dependency and ensuring a specific build/rebuild on the lib first seems to work, except that the intellisense, and by extension, debugger does not maintain an uptodate cache on the Dev PC (I am building on the target) of my library, so changes are not reflected.
In other worlds. it all goes a bit wrong.
Can someone point me to an explanation of how VisualGDB manages multi project solutions like this?