On Dec 5, 2012, at 1:05 AM, Steven McCoy 
<[email protected]<mailto:[email protected]>> wrote:

On 4 December 2012 14:31, Stefan Radomski 
<[email protected]<mailto:[email protected]>>
 wrote:
Addendum: Now that I skimmed the CMakeLists.txt I see that libzmq is explicitly 
forced to be built as a shared library - is there a reason for this?


Exported APIs need different decls for static and shared.  There is no support 
for the static decls in trunk.  If they were added one could implement a 
FindZeroMQ.cmake module that defines the required define for static support 
similar to Boost.


I was under the impression that static decls would simply be the empty string, 
which is what I (and others earlier) proposed in my original message. Is there 
something more to it than to drop the declspecs entirely when building a static 
library?

Regards
Stefan

--
Steve-o
_______________________________________________
zeromq-dev mailing list
[email protected]<mailto:[email protected]>
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to