Thank you for your replies!
29.05.2014 19:10, Allen Byrne пишет:
Andrey,
BUILD_SHARED_LIBS determines how the library will be built, OFF is static and
ON is dynamic.
So, is it correct that if I need hdf5.dll (as opposed to *.lib) I should
set BUILD_SHARED_LIBS to ON?
If you want to build a static hdf5 library, I suggest you link zlib in
statically as well. Note that the CRT will still be referenced dynamically.
(there is a way to link that in statically if you must, but is not usually
necessary).
Yes, to link zlib as well as CRT statically is what I want. My
application couldn't use CRT memory manager even if it wanted to (it's
not even in C), so I'm pretty safe in this regard.
Could you please share how to configure cmake to link zlib and CRT in,
statically?
Best wishes,
Andrey Paramonov
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Hdf-forum is for HDF software users discussion.
[email protected]
http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
Twitter: https://twitter.com/hdf5