diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2009-12-01 20:09:38 +0300 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2009-12-01 20:09:54 +0300 |
commit | 0e676a1cec2f2ad300464c55532e00fea3a88ec0 (patch) | |
tree | a665ea50941f809ab71ef07681e93d1bd7ae453b /symbols.pri | |
parent | d8188f7367bd80c7e0fa70c4ad35d40b1100c8cb (diff) |
Strip debug symbols after extracting them for CONFIG+=symbol for macx.
Diffstat (limited to 'symbols.pri')
-rw-r--r-- | symbols.pri | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/symbols.pri b/symbols.pri index dfdab2078..20b374525 100644 --- a/symbols.pri +++ b/symbols.pri @@ -27,7 +27,13 @@ CONFIG(symbols):macx { QMAKE_EXTRA_TARGETS *= dsym QMAKE_DISTCLEAN *= $${DSYM_OUT} + strip.target = stripdebug + strip.commands = strip -S $${DSYM_TARGET_FULLPATH} + strip.depends = $${DSYM_OUT} + strip.CONFIG = recursive + QMAKE_EXTRA_TARGETS *= strip + !CONFIG(staticlib) { - ALL_DEPS += $${DSYM_OUT} + ALL_DEPS += $${DSYM_OUT} stripdebug } } |