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-08-07 16:56:17 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:21:41 +0300
commit271075c9a98bf33ab289b3a1d548f71ad5684b94 (patch)
tree501f722babf30a5632951d1038f68360048c0422 /common.pri
parenta515aa250f0953bfde57272fcad87463d3a4f129 (diff)
Tuned compilation options
Diffstat (limited to 'common.pri')
-rw-r--r--common.pri7
1 files changed, 4 insertions, 3 deletions
diff --git a/common.pri b/common.pri
index ea16d5c101..c5ef5f4ffc 100644
--- a/common.pri
+++ b/common.pri
@@ -13,7 +13,7 @@ VERSION = $${VERSION_MAJOR}.$${VERSION_MINOR}
INCLUDEPATH += $$ROOT_DIR/3party/boost
CONFIG(release, debug|release) {
- DEFINES += RELEASE _RELEASE
+ DEFINES += RELEASE _RELEASE NDEBUG
CONFIG_NAME = release
} else {
DEFINES += DEBUG _DEBUG
@@ -27,6 +27,8 @@ CONFIG(production) {
unix|win32-g++ {
QMAKE_CFLAGS_RELEASE += -g
QMAKE_CXXFLAGS_RELEASE += -g
+ } win32-msvc* {
+ QMAKE_LFLAGS += /PDB:$${DESTDIR}/$${TARGET}.pdb /DEBUG
}
}
@@ -71,7 +73,7 @@ for(project, DEPENDENCIES) {
LIBS += -l$$project
}
-INCLUDEPATH += $$ROOT_DIR/3party/protobuf/src/
+#INCLUDEPATH += $$ROOT_DIR/3party/protobuf/src/
# Windows-specific options for all projects
win32 {
@@ -87,7 +89,6 @@ win32-msvc* {
DEFINES += _SCL_SECURE_NO_WARNINGS _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNINGS NOMINMAX NO_MIN_MAX
QMAKE_CXXFLAGS += /Fd$${DESTDIR}/$${TARGET}.pdb /Zi /fp:fast
QMAKE_CFLAGS += /Fd$${DESTDIR}/$${TARGET}.pdb /Zi /fp:fast
- QMAKE_LFLAGS += /PDB:$${DESTDIR}/$${TARGET}.pdb /DEBUG
QMAKE_CXXFLAGS_RELEASE -= /O2
# don't set -GL - bug in msvc2008