Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2012-02-06 18:27:09 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:33:12 +0300
commitdb74ea08f6e392ae496852a110bbed7e361f7a31 (patch)
tree8c310d0b9bf0f16c0ef447422d45f967a23257c9 /indexer/indexer.pro
parent9748df36ed5ca260e6f950de85ada29a82333d20 (diff)
[search] Use protobuf in lite mode for production configuration.
Diffstat (limited to 'indexer/indexer.pro')
-rw-r--r--indexer/indexer.pro13
1 files changed, 9 insertions, 4 deletions
diff --git a/indexer/indexer.pro b/indexer/indexer.pro
index d44f87d82d..a9caa51f0d 100644
--- a/indexer/indexer.pro
+++ b/indexer/indexer.pro
@@ -40,8 +40,7 @@ SOURCES += \
index.cpp \
categories_holder.cpp \
search_string_utils.cpp \
- drules_struct.pb.cc \
- string_file.cpp
+ string_file.cpp \
HEADERS += \
feature.hpp \
@@ -87,8 +86,14 @@ HEADERS += \
mwm_set.hpp \
categories_holder.hpp \
drules_struct.pb.h \
- string_file.hpp
+ string_file.hpp \
OTHER_FILES += drules_struct.proto
-
+CONFIG(production) {
+ SOURCES += drules_struct_lite.pb.cc
+ HEADERS += drules_struct_lite.pb.h
+} else {
+ SOURCES += drules_struct.pb.cc
+ HEADERS += drules_struct.pb.h
+}