[zeromq-dev] Statically compiling libzmq on Windows

Stefan Radomski radomski at tk.informatik.tu-darmstadt.de
Wed Dec 5 09:23:49 CET 2012


On Dec 5, 2012, at 1:05 AM, Steven McCoy <steven.mccoy at miru.hk<mailto:steven.mccoy at miru.hk>> wrote:

On 4 December 2012 14:31, Stefan Radomski <radomski at tk.informatik.tu-darmstadt.de<mailto:radomski at tk.informatik.tu-darmstadt.de>> 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
zeromq-dev at lists.zeromq.org<mailto:zeromq-dev at lists.zeromq.org>
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20121205/09962210/attachment.htm>


More information about the zeromq-dev mailing list