diff options
author | Oswald Buddenhagen <oswald.buddenhagen@digia.com> | 2013-11-18 21:39:08 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-03 09:14:59 +0100 |
commit | a5f6536d9fbde11796d3c7f1a9db3fd34e83c2a5 (patch) | |
tree | d45649fdb900ff448cbd52678c0b0971990335a0 /mkspecs | |
parent | c31ab2139a237d60a5b14143a5c98ac6d8d57f32 (diff) | |
download | qtbase-a5f6536d9fbde11796d3c7f1a9db3fd34e83c2a5.tar.gz qtbase-a5f6536d9fbde11796d3c7f1a9db3fd34e83c2a5.tar.bz2 qtbase-a5f6536d9fbde11796d3c7f1a9db3fd34e83c2a5.zip |
complete implementation of force_debug_info
that means further detaching the generation and installation of debug
info from the thing calling itself A Debug Build.
Task-number: QTBUG-32412
Change-Id: I4d79d1ae4806c8e4a2d6a7ccd030fb88385dd7d4
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/default_post.prf | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mkspecs/features/default_post.prf b/mkspecs/features/default_post.prf index 8eb7101acc..ee0fdfef48 100644 --- a/mkspecs/features/default_post.prf +++ b/mkspecs/features/default_post.prf @@ -29,6 +29,9 @@ QT_BREAKPAD_ROOT_PATH = $$(QT_BREAKPAD_ROOT_PATH) CONFIG -= no_debug_info separate_debug_info } +force_debug_info|debug: \ + CONFIG += debug_info + force_debug_info { QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO @@ -69,11 +72,6 @@ silent { CONFIG = silent $$CONFIG } -force_debug_info:win32 { - load(resolve_target) - QMAKE_CLEAN += $$replace(QMAKE_RESOLVED_TARGET, ...$, pdb) # for the debug case it is hardcoded in qmake -} - breakpad { load(resolve_target) DEBUGFILENAME = $$shell_quote($$shell_path($$QMAKE_RESOLVED_TARGET)) |