add MYLIB_EXPORT for public API - Redmine #999
MYLIB_EXPORT should be added to the function declaration of all public functions. Without it we can’t compile shared libraries on Windows. See http://www.cmake.org/Wiki/BuildingWinDLL. And this causes the Windows binaries to be huge compared to the Linux binaries (compressed 60MB versus 7MB).
(from redmine: issue id 999, created on 2012-09-03 by rolandschulz, closed on 2012-09-06)
- Relations:
- relates #988 (closed)
- duplicates #701 (closed)