Thanks for the answer Hiura.
My question is part of a broader problem to be honest.
I thought I'd venture into statically linking the libraries to make it easier to get all of the different platforms to compile. As you pointed out, this is even worse than using frameworks on OS X.
Right now I'm writing a library that sits on top of SFML and I need it to work on OS X, Windows, Android and iOS.
On Mac I've been using frameworks but since I'm a cmake newbie, I'm having troubles finding a way to tell XCode to copy the frameworks into the application bundle.
On Windows I have a whole different problem, where I need to bring with me x86/Debug, x86/Release, x64/Debug, x64/Release multiplied by all the different versions of Visual Studio because of the incompatibility of the different STL versions.
On iOS I have to use static libraries because everything has to be linked statically.
It's a lot of different moving parts. And on top of that, the end user who's making a project using my library has to deal with all that stuff again as the linking is being done at that stage of course and not in my library. It makes it a dependency hell and it feels like it requires a lot of boilerplate just to get a simple test project to run.
Is my approach completely wrong? Is there a better way to deal with dependencies?
Cheers!