( I made this new post with the same content as https://www.gamedev.net/topic/687811-portable-shareddynamic-libraries-with-c-and-cmake/ because for some reason it has 0 views. And has been like 3 days. i'm not sure if it is not even shown.) Hope no one gets mad.
Hi everyone.
I'm working on a project that uses a plug-in-like arquitecture.
Right now i'm working on Linux and to implement the plugins I'm using Shared Objects (.so). I load the plugins with the dl API.
On windows there are dlls which are managed in very different way.
Now, in mac OSX i'm a bit confused. I see there are dylib, so, frameworks and bundles (besides other things).
I'm not sure what's the difference between them and what should I use to implement a plug in.
Can anyone point me in the right direction here?
Thanks.