diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-02-26 11:41:20 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-03-06 13:38:37 +0100 |
commit | d0911d0a92f47996fcba5520a8a91fe47e10f4a6 (patch) | |
tree | 652064c2633931ea62441defc9a29dafd1ef773a /configure.json | |
parent | a3d0ef019a2a592d55035adc784d5d0475f39a74 (diff) |
CMake: Port the 'separate_debug_info' feature
For this, we have to uninline the separate_debug_info configure test,
because supporting the conversion of this in configurejson2cmake is not
worth the hassle.
Separate debug information can be turned on for a target by calling the
function qt_enable_separate_debug_info. For Qt's shared libraries and
tools separate debug information is generated if the
'separate_debug_info' feature is manually turned on.
Change-Id: Ic2ffc15efef3794dc0aa42f3d853ef6d651a751c
Reviewed-by: Leander Beernaert <leander.beernaert@qt.io>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/configure.json b/configure.json index cf123602c2..bb4813e308 100644 --- a/configure.json +++ b/configure.json @@ -460,17 +460,7 @@ }, "separate_debug_info": { "label": "separate debug information support", - "type": "compile", - "test": { - "qmake": [ - "TARGET = objcopytest", - "load(resolve_target)", - "QMAKE_POST_LINK += \\", - " $$QMAKE_OBJCOPY --only-keep-debug $$QMAKE_RESOLVED_TARGET objcopytest.debug && \\", - " $$QMAKE_OBJCOPY --strip-debug $$QMAKE_RESOLVED_TARGET && \\", - " $$QMAKE_OBJCOPY --add-gnu-debuglink=objcopytest.debug $$QMAKE_RESOLVED_TARGET" - ] - } + "type": "compile" }, "gc_binaries": { "label": "support for split sections and linker garbage collection", |