diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-02-12 19:29:26 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-02-12 19:29:26 -0800 |
commit | eca654748458c7f90b56d2408b01a42557053eee (patch) | |
tree | 0ff5a8ea8c9bb28ce18f12cc897df2f06f2ad826 /templates | |
parent | d5b076ae291b2e4aa361ddfc1dd551d611c802f3 (diff) |
added some more non-test targets to Grpc.mak
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vsprojects/vs2013/Grpc.mak.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/vsprojects/vs2013/Grpc.mak.template b/templates/vsprojects/vs2013/Grpc.mak.template index 9bea79b3d6..ff4f198dbc 100644 --- a/templates/vsprojects/vs2013/Grpc.mak.template +++ b/templates/vsprojects/vs2013/Grpc.mak.template @@ -4,8 +4,8 @@ <%def name="to_windows_path(path)">${path.replace('/','\\')}</%def>\ <% allowed_dependencies = set(['gpr', 'grpc', 'gpr_test_util', 'grpc_test_util']) - 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') ] + buildable_targets = [ target for target in targets if set(target.deps).issubset(allowed_dependencies) and all([src.endswith('.c') for src in target.src])] + test_targets = [ target for target in buildable_targets if target.name.endswith('_test') ] %>\ # NMake file to build secondary gRPC targets on Windows. # Use grpc.sln to solution to build the gRPC libraries. @@ -42,7 +42,7 @@ ${target.name} \ echo All tests ran. -% for target in test_targets: +% for target in buildable_targets: ${target.name}.exe: grpc_test_util echo Building ${target.name} cl.exe /c /I..\.. /I..\..\include /nologo /Z7 /W3 /WX- /sdl /D WIN32 /D _LIB /D _USE_32BIT_TIME_T /D _UNICODE /D UNICODE /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Gd /TC /analyze- /Fo:$(OUT_DIR)\ \ |