diff options
Diffstat (limited to 'config.tests/separate_debug_info/separate_debug_info.pro')
-rw-r--r-- | config.tests/separate_debug_info/separate_debug_info.pro | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config.tests/separate_debug_info/separate_debug_info.pro b/config.tests/separate_debug_info/separate_debug_info.pro new file mode 100644 index 0000000000..577aa734d6 --- /dev/null +++ b/config.tests/separate_debug_info/separate_debug_info.pro @@ -0,0 +1,7 @@ +TARGET = objcopytest +SOURCES += main.cpp +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 |