aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-12 09:41:03 +0100
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-01-12 10:23:48 +0100
commitaf7b87f8eba17ec4ea4e87e19ebdb6935aadedc7 (patch)
tree4ed62dffff34adac1bf2dbbefbd4e1bdf73464cf /templates
parent3aab96f56c7de370070e9966cf3728fbcd1018dd (diff)
remove unneeded/broken targets from CMakeLists.exe
Diffstat (limited to 'templates')
-rw-r--r--templates/CMakeLists.txt.template9
1 files changed, 7 insertions, 2 deletions
diff --git a/templates/CMakeLists.txt.template b/templates/CMakeLists.txt.template
index 8d49abeffd..028c1b8c32 100644
--- a/templates/CMakeLists.txt.template
+++ b/templates/CMakeLists.txt.template
@@ -194,14 +194,19 @@
endif()
% for lib in libs:
- % if lib.build in ["all", "protoc", "tool"]:
+ % if lib.build in ["all", "protoc", "tool"] and lib.language in ['c', 'c++']:
+ ## TODO(jtattermusch): grpc++_reflection includes .proto files
+ ## which is not yet supported and thus fails the entire build.
+ ## Re-enable once fixed.
+ % if lib.name != 'grpc++_reflection':
${cc_library(lib)}
${cc_install(lib)}
% endif
+ % endif
% endfor
% for tgt in targets:
- % if tgt.build in ["all", "protoc", "tool"]:
+ % if tgt.build in ["all", "protoc", "tool"] and tgt.language in ['c', 'c++']:
${cc_binary(tgt)}
${cc_install(tgt)}
% endif