From 8b116259a7c8c6fd326e9f31f9476e02cf6b06b3 Mon Sep 17 00:00:00 2001 From: lotodore Date: Fri, 26 Oct 2012 18:39:41 +0200 Subject: [PATCH] Call protoc in qmake call. --- docs/pokerth.proto => pokerth.proto | 0 pokerth_protocol.pro | 4 ++++ 2 files changed, 4 insertions(+) rename docs/pokerth.proto => pokerth.proto (100%) diff --git a/docs/pokerth.proto b/pokerth.proto similarity index 100% rename from docs/pokerth.proto rename to pokerth.proto diff --git a/pokerth_protocol.pro b/pokerth_protocol.pro index c45113f9..14ded496 100644 --- a/pokerth_protocol.pro +++ b/pokerth_protocol.pro @@ -105,6 +105,10 @@ win32 { DEFINES += CURL_STATICLIB DEFINES += _WIN32_WINNT=0x0501 } +unix : !mac { + system(protoc pokerth.proto --cpp_out=src\third_party\protobuf) + system(protoc pokerth.proto --java_out=tests\src) +} mac { # make it x86_64 only CONFIG += x86_64