diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-08-16 19:22:39 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:21:52 +0300 |
commit | cea2ac100f2efc6b77b35166f7cb38b2c2682d0e (patch) | |
tree | 745cd63d9d0601349aa2fa03dd08c3a979e7a017 /common.pri | |
parent | b960e93e87e88a8f8dd8e7051c4bc795aa02dd03 (diff) |
[win32] Fixed wrong paths for pdbs
Diffstat (limited to 'common.pri')
-rw-r--r-- | common.pri | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/common.pri b/common.pri index c5ef5f4ffc..2976ff3b93 100644 --- a/common.pri +++ b/common.pri @@ -20,18 +20,6 @@ CONFIG(release, debug|release) { CONFIG_NAME = debug } -CONFIG(production) { - DEFINES += OMIM_PRODUCTION -} else { - # enable debugging information for non-production release builds - unix|win32-g++ { - QMAKE_CFLAGS_RELEASE += -g - QMAKE_CXXFLAGS_RELEASE += -g - } win32-msvc* { - QMAKE_LFLAGS += /PDB:$${DESTDIR}/$${TARGET}.pdb /DEBUG - } -} - # turn off maps downloader engine for desktops in release and production !iphone* { CONFIG(release, debug|release)|CONFIG(production) { @@ -147,3 +135,15 @@ macx-* { QMAKE_LFLAGS_X86_64 -= -mmacosx-version-min=10.5 QMAKE_LFLAGS_X86_64 += -mmacosx-version-min=10.6 } + +CONFIG(production) { + DEFINES += OMIM_PRODUCTION +} else { + # enable debugging information for non-production release builds + unix|win32-g++ { + QMAKE_CFLAGS_RELEASE += -g + QMAKE_CXXFLAGS_RELEASE += -g + } win32-msvc* { + QMAKE_LFLAGS += /PDB:$${DESTDIR}/$${TARGET}.pdb /DEBUG + } +} |