Over the months I've written some nice generic enough functionality that I want to build as a library and link dynamically against rather than importing 50-odd header/source files.
The project is maintained in Xcode and Dev-C++ (I do understand that I might have to go command line to do what I want) and have to link against OpenGL and SDL (dynamically in SDL's case). Target platforms are Windows and OS X.
What am I looking at at all?
- What will be the entry point of my library if it needs one?
- What do I have to change in my code? (calling conventions?)
- How do I release it? My understanding is that headers and the compiled library (.dll, .dylib(, .framework), whatever it'll be) need to be available for the project - especially as template functionality can not be included in the library by nature.
- What else I need to be aware of?