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:
authorAlex Zolotarev <deathbaba@gmail.com>2011-06-01 22:20:34 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:18:44 +0300
commit6c18bb6844e384efc57b16dd17e5e3f4e99cddd5 (patch)
tree9df16b0ae922d98b05fb8bf14cf2c72b31f3545e /common.pri
parentebd47383c69eefa77cac7171aa1845dea9eb6c2f (diff)
Added special macroses to disable downloader in desktop release/producton configurations
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri11
1 files changed, 11 insertions, 0 deletions
diff --git a/common.pri b/common.pri
index 9bf4fb8959..f6e570f243 100644
--- a/common.pri
+++ b/common.pri
@@ -30,6 +30,17 @@ CONFIG(production) {
}
}
+# turn off maps downloader engine for desktops in release and production
+!iphone* {
+ CONFIG(release, debug|release)|CONFIG(production) {
+ CONFIG += no_downloader
+ DEFINES += NO_DOWNLOADER
+ } else {
+ CONFIG += use_downloader
+ DEFINES += USE_DOWNLOADER
+ }
+}
+
BINARIES_PATH = $$ROOT_DIR/out/$$CONFIG_NAME
TEMP_PATH = $$ROOT_DIR/out/$$CONFIG_NAME/tmp/$$TARGET