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 <alex@maps.me>2015-04-18 00:42:11 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:46:10 +0300
commit66592504885819c27e092be779dbe1b668b3bca8 (patch)
tree95356fd1635880dc42838405a33de9e357eb95a6 /common.pri
parent6f92701ec0a38804861a6ea848ddf4bae1e43957 (diff)
qmake fix for rebuilding project without any modifications.
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri10
1 files changed, 6 insertions, 4 deletions
diff --git a/common.pri b/common.pri
index 631e31b7a4..66283e092c 100644
--- a/common.pri
+++ b/common.pri
@@ -17,15 +17,17 @@ VERSION_MINOR = 4
VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}
# Additional include directories, common to most projects.
-INCLUDEPATH *= $$ROOT_DIR
+# /../omim part is used to avoid qmake issue when whole project
+# recompiles without any modification.
+INCLUDEPATH *= $$ROOT_DIR/../omim
+DEPENDPATH *= $$ROOT_DIR/../omim
INCLUDEPATH *= $$ROOT_DIR/3party/boost
INCLUDEPATH *= $$ROOT_DIR/3party/glm
-# hack for Qt5 qmake to make it faster
+# Hack for Qt5 qmake to make it much faster.
+# Turns off any external headers modification check (see DEPENDPATH).
CONFIG -= depend_includepath
-DEPENDPATH *= $$ROOT_DIR
-
CONFIG *= c++11
!win32* {