diff options
author | Tim Cooper <tim.cooper@layeh.com> | 2015-05-27 21:40:09 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2016-05-08 17:45:52 +0300 |
commit | 776c084a1a9f18bbce1d862f059530b3e6e4600e (patch) | |
tree | ebd061e4c6404843f633d94cabcd573d4086d736 /src/murmur/murmur.pro | |
parent | 7b0bb8299d1ab6f7a2a3d16b6d1b17f617eeee5f (diff) |
grpc: start implementation
Diffstat (limited to 'src/murmur/murmur.pro')
-rw-r--r-- | src/murmur/murmur.pro | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/murmur/murmur.pro b/src/murmur/murmur.pro index 33496bb7a..b2279e18b 100644 --- a/src/murmur/murmur.pro +++ b/src/murmur/murmur.pro @@ -20,6 +20,10 @@ PRECOMPILED_HEADER = murmur_pch.h CONFIG *= ice } +!CONFIG(no-grpc) { + CONFIG *= grpc +} + !CONFIG(no-dbus):!win32:!macx { CONFIG *= dbus } @@ -134,6 +138,22 @@ ice { } } +grpc { + DEFINES *= USE_GRPC + + GRPC *= MurmurRPC.proto + PROTOBUF *= MurmurRPC.proto + + HEADERS *= MurmurGRPCImpl.h + SOURCES *= MurmurGRPCImpl.cpp + + # TODO(grpc): other platforms + unix { + QMAKE_CXXFLAGS *= -std=c++11 + LIBS *= -lgrpc++ -lgrpc -lgpr + } +} + bonjour { DEFINES *= USE_BONJOUR |