diff options
author | hjk <qtc-committer@nokia.com> | 2010-11-22 12:40:27 (GMT) |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2010-11-22 15:34:59 (GMT) |
commit | dc957655b6f5641a7b207ec304ce29e246e17000 (patch) | |
tree | 912bfafbc22a7669dae6866c969a1c861adfeab1 /mkspecs/features/no_debug_info.prf | |
parent | 6cc3f97adfb541acfa7bffde6ca8b91fdc980854 (diff) | |
download | Qt-dc957655b6f5641a7b207ec304ce29e246e17000.zip Qt-dc957655b6f5641a7b207ec304ce29e246e17000.tar.gz Qt-dc957655b6f5641a7b207ec304ce29e246e17000.tar.bz2 |
no_debug_info.prf: Also handle MSVC.
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'mkspecs/features/no_debug_info.prf')
-rw-r--r-- | mkspecs/features/no_debug_info.prf | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/mkspecs/features/no_debug_info.prf b/mkspecs/features/no_debug_info.prf index 3acf6c8..e05410d 100644 --- a/mkspecs/features/no_debug_info.prf +++ b/mkspecs/features/no_debug_info.prf @@ -1,5 +1,14 @@ -QMAKE_CFLAGS -= -g -ggdb3 -QMAKE_CXXFLAGS -= -g -ggdb3 -QMAKE_LFLAGS -= -g -ggdb3 -QMAKE_LIBFLAGS -= -g -ggdb3 +win32-msvc2*|wince*msvc* { + QMAKE_CFLAGS -= -Zi + QMAKE_CFLAGS_DEBUG -= -Zi + QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO -= -Zi + QMAKE_CXXFLAGS -= -Zi + QMAKE_CXXFLAGS_DEBUG -= -Zi + QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO -= -Zi +} else { + QMAKE_CFLAGS -= -g -ggdb3 + QMAKE_CXXFLAGS -= -g -ggdb3 + QMAKE_LFLAGS -= -g -ggdb3 + QMAKE_LIBFLAGS -= -g -ggdb3 +} |