mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
6a9af8ed62
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.)
Visual Studio product and C++ compiler Versions: Visual C++ 2008 => Visual C++ 9 Visual C++ 2010 => Visual C++ 10 Visual C++ 2012 => Visual C++ 11 Visual C++ 2013 => Visual C++ 12 Visual C++ 2015 => Visual C++ 14 Note that solution file icons reflect the compiler version ([9], [10], [11], [12], [14]), not the product version. The vs2015/vs2013/vs2012/vs2010 solution and project files differ only in versioning. More info here: http://en.wikipedia.org/wiki/Visual_C%2B%2B