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

Pieter Hintjens ph at imatix.com
Wed Feb 3 22:49:13 CET 2016


FWIW I've pushed changes to make this work:

https://github.com/zeromq/libzmq/pull/1765



On Wed, Feb 3, 2016 at 8:38 PM, Pieter Hintjens <ph at imatix.com> wrote:
> 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