This website requires JavaScript.
Explore
Help
Sign In
3party
/
libzmq
Watch
0
Star
0
Fork
0
You've already forked libzmq
mirror of
https://github.com/zeromq/libzmq.git
synced
2024-12-31 01:43:02 +08:00
Code
Issues
Projects
Releases
Wiki
Activity
libzmq
/
builds
/
msvc
/
platform.hpp
2 lines
48 B
C++
Raw
Normal View
History
Unescape
Escape
Problem: can't build without libsodium from command line (MSVC) There is an option to enable/disable libsodium via the Visual Studio UI. This is not practical for command-line usage (via msbuild). Solution: add configure.bat that searches for libsodium in sibling directory to libzmq; if it finds it, defines HAVE_LIBSODIUM 1. This is consistent with zproject, which has the same problem and is getting the same solution for all dependency resolution on Windows. Note that this approach also provides a way to support tweetnacl via a configure option. Also, removed duplicate props files and re-copy in configure.bat as it was an insane nightmare to update these by hand. (and not clear that they were identical. Now it's forced.)
2016-02-03 21:12:29 +01:00
#
error "Run configure.bat to create platform.h"
Reference in New Issue
Copy Permalink