mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-09 11:17:34 +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.)
13 lines
232 B
Batchfile
13 lines
232 B
Batchfile
@ECHO OFF
|
|
|
|
CALL buildbase.bat ..\vs2015\libzmq.sln 14
|
|
ECHO.
|
|
:- CALL buildbase.bat ..\vs2013\libzmq.sln 12
|
|
:- ECHO.
|
|
:- CALL buildbase.bat ..\vs2012\libzmq.sln 11
|
|
:- ECHO.
|
|
:- CALL buildbase.bat ..\vs2010\libzmq.sln 10
|
|
:- ECHO.
|
|
|
|
PAUSE
|