[zeromq-dev] Building with/without libsodium on Windows

Pieter Hintjens ph at imatix.com
Wed Feb 3 20:38:43 CET 2016


Hi,

I'm trying to make the libzmq command-line build work better. Today
it's not clear how to build without libsodium from the command line
(build.bat, calling msbuild).

My proposal (which I'm implementing in zproject, for other projects)
is to add a configure step that detects whether or not dependencies
are present as sibling projects. It then generates platform.h/.hpp.

So this means a libzmq/builds/msvc/configure.bat file.

Using the same approach in libzmq as czmq/etc. would be ideal.

I'd start by detecting only libsodium. If this works well we can use
the same approach for other libzmq dependencies, like tweetnacl and
openpgm.

Comments?

-Pieter



More information about the zeromq-dev mailing list