Skip to content
Snippets Groups Projects
Commit d5b076ae authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

improving makefile for Windows

parent 32647c85
No related branches found
No related tags found
No related merge requests found
......@@ -4,9 +4,11 @@
<%def name="to_windows_path(path)">${path.replace('/','\\')}</%def>\
<%
allowed_dependencies = set(['gpr', 'grpc', 'gpr_test_util', 'grpc_test_util'])
test_targets = [ target for target in targets if target.name.endswith('_test') and set(target.deps).issubset(allowed_dependencies)]
allowed_targets = [ target for target in targets if set(target.deps).issubset(allowed_dependencies) ]
test_targets = [ target for target in allowed_targets if target.name.endswith('_test') ]
%>\
# NMake file to build grpc tests on Windows.
# NMake file to build secondary gRPC targets on Windows.
# Use grpc.sln to solution to build the gRPC libraries.
OUT_DIR=test_bin
......
# NMake file to build grpc tests on Windows.
# NMake file to build secondary gRPC targets on Windows.
# Use grpc.sln to solution to build the gRPC libraries.
OUT_DIR=test_bin
......
@rem Convenience wrapper that run specified gRPC target using Nmake
@rem Convenience wrapper that runs specified gRPC target using Nmake
@rem Usage: make.bat TARGET_NAME
@rem Set VS variables
@call "%VS120COMNTOOLS%\..\..\vc\vcvarsall.bat" x86
nmake.exe /f GrpcTests.mak %1
\ No newline at end of file
nmake.exe /f Grpc.mak %1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment