From 020ff65efa58a0f01c336464c9b0c7f9dedc170f Mon Sep 17 00:00:00 2001 From: chuggafan Date: Mon, 16 Jan 2017 14:54:40 -0500 Subject: [PATCH] Updated buildbase and buildall to work with visual studio 2017 --- builds/msvc/build/buildall.bat | 2 ++ builds/msvc/build/buildbase.bat | 1 + 2 files changed, 3 insertions(+) diff --git a/builds/msvc/build/buildall.bat b/builds/msvc/build/buildall.bat index c8595e8d..ee45a22c 100644 --- a/builds/msvc/build/buildall.bat +++ b/builds/msvc/build/buildall.bat @@ -2,6 +2,8 @@ :: Usage: buildall.bat :: Build all configurations for all solutions. +call buildbase.bat ..\vs2017\libzmq.sln 17 +ECHO. CALL buildbase.bat ..\vs2015\libzmq.sln 14 ECHO. CALL buildbase.bat ..\vs2013\libzmq.sln 12 diff --git a/builds/msvc/build/buildbase.bat b/builds/msvc/build/buildbase.bat index 52bb2734..aba456a7 100644 --- a/builds/msvc/build/buildbase.bat +++ b/builds/msvc/build/buildbase.bat @@ -12,6 +12,7 @@ if NOT "%target%" == "" set target=/t:%target%&set ACTION=Cleaning SET log=build_%version%.log SET tools=Microsoft Visual Studio %version%.0\VC\vcvarsall.bat +if "%version%" == "17" SET tools=Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat SET environment="%programfiles(x86)%\%tools%" IF NOT EXIST %environment% SET environment="%programfiles%\%tools%" IF NOT EXIST %environment% GOTO no_tools