Hello Charles,
* Charles Wilson wrote on Sun, Jun 28, 2009 at 12:54:59AM CEST:
The best I could come up with is this: IN the source code for the object, do
- top of file -
#if defined(BUILDING_MY_LIBRARY) defined(DLL_EXPORT)
stuff
#endif
- end of file -
This way, the
Ralf Wildenhues wrote:
* Charles Wilson wrote on Sun, Jun 28, 2009 at 12:54:59AM CEST:
Is there a better way?
Not that I know of. The current code might cause the object list for
the static library to be a larger set than that for the shared library
(because it won't add objects compiled