From 789e7aee605226414cec75d4f79658e1eabb2c69 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Thu, 16 Apr 2015 21:03:30 -0700 Subject: updated version of nuget packages used in Grpc.mak --- templates/vsprojects/Grpc.mak.template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'templates/vsprojects/Grpc.mak.template') diff --git a/templates/vsprojects/Grpc.mak.template b/templates/vsprojects/Grpc.mak.template index 2ad7fa3e8f..b761619d9b 100644 --- a/templates/vsprojects/Grpc.mak.template +++ b/templates/vsprojects/Grpc.mak.template @@ -29,13 +29,14 @@ <%! import re %>\ +<%namespace file="packages.include" import="get_openssl,get_zlib"/>\ <%def name="to_windows_path(path)">${path.replace('/','\\')}\ <% allowed_dependencies = set(['gpr', 'grpc', 'gpr_test_util', 'grpc_test_util']) buildable_targets = [ target for target in targets if set(target.deps).issubset(allowed_dependencies) and - all([src.endswith('.c') for src in target.src]) and - 'windows' in target.platforms ] + all([src.endswith('.c') for src in target.src]) and + 'windows' in target.platforms ] c_test_targets = [ target for target in buildable_targets if target.build == 'test' and not target.language == 'c++' ] cxx_test_targets = [ target for target in buildable_targets if target.build == 'test' and target.language == 'c++' ] %>\ @@ -48,16 +49,16 @@ CC=cl.exe LINK=link.exe REPO_ROOT=.. -OPENSSL_INCLUDES = .\packages\openssl.1.0.2.1\build\native\include\v120\Win32\Debug\static -ZLIB_INCLUDES = .\packages\zlib.1.2.8.7\build\native\include +OPENSSL_INCLUDES = .\packages\${get_openssl()}\build\native\include\v120\Win32\Debug\static +ZLIB_INCLUDES = .\packages\${get_zlib()}\build\native\include INCLUDES=/I$(REPO_ROOT) /I$(REPO_ROOT)\include /I$(OPENSSL_INCLUDES) /I$(ZLIB_INCLUDES) DEFINES=/D WIN32 /D _LIB /D _USE_32BIT_TIME_T /D _UNICODE /D UNICODE /D _CRT_SECURE_NO_WARNINGS CFLAGS=/c $(INCLUDES) /nologo /Z7 /W3 /WX- /sdl $(DEFINES) /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Gd /TC /analyze- LFLAGS=/DEBUG /INCREMENTAL /NOLOGO /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 -OPENSSL_LIBS=.\packages\openssl.1.0.2.1\build\native\lib\v120\Win32\Debug\static\ssleay32.lib .\packages\openssl.1.0.2.1\build\native\lib\v120\Win32\Debug\static\libeay32.lib +OPENSSL_LIBS=.\packages\${get_openssl()}\build\native\lib\v120\Win32\Debug\static\ssleay32.lib .\packages\${get_openssl()}\build\native\lib\v120\Win32\Debug\static\libeay32.lib WINSOCK_LIBS=ws2_32.lib -ZLIB_LIBS=.\packages\zlib.1.2.8.7\build\native\lib\v120\Win32\Debug\static\cdecl\zlib.lib +ZLIB_LIBS=.\packages\${get_zlib()}\build\native\lib\v120\Win32\Debug\static\cdecl\zlib.lib LIBS=$(OPENSSL_LIBS) $(WINSOCK_LIBS) $(ZLIB_LIBS) gpr_test_util: -- cgit v1.2.3