synchronized grpc cpp_generator with latest version as of today: grpc-1.8.1. (#4556)

* updateed cpp_generator.cc to be compatible with the latest grpc version

* preserved the original license

* synchronized grpc cpp_generator with latest version as of today: GRPC 1.8.1. Regenerated test/monster_test.grpc.fb.* files and verified that grpctest is nicely passing

* fixed merge glitch
This commit is contained in:
Yuri Finkelstein
2017-12-21 06:49:00 -10:00
committed by Wouter van Oortmerssen
parent dd73b53e28
commit 61f4a46c43
4 changed files with 123 additions and 92 deletions

View File

@@ -244,7 +244,7 @@ if(FLATBUFFERS_BUILD_GRPCTEST)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-parameter -Wno-shadow")
endif()
add_executable(grpctest ${FlatBuffers_GRPCTest_SRCS})
target_link_libraries(grpctest grpc++_unsecure grpc_unsecure pthread dl)
target_link_libraries(grpctest grpc++_unsecure grpc_unsecure gpr pthread dl)
endif()
if(FLATBUFFERS_INSTALL)