[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Re: Debug buildtype broken
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-09-20 6:47:30
Message-ID: 200709200847.46481.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Jaison Lee wrote:
>> Some flags suggestions:
>> Release: -O2
>> RelWithDebugInfo: -g -O2
>> optimised-but-debuggable: -g -O2 -fno-inline -fno-schedule-insns
>> -fno-reorder-blocks Debug: -g -O0
>> Debugfull: -g3 -O0
>
>Related to this, absolutely nothing I do seems to remove the kDebug()
>lines. Compiling in Release mode does not do it, nor does manually
>adding KDE_NO_DEBUG_INFO to CMAKE_CXX_FLAGS_RELEASE. When compiling in
>Release or MinSizeRel the kDebug() lines should not be included,
>however that can be accomplished.
Oh, right. This is probably being inherited from the Qt configuration. Is
your Qt compiled in debugging mode?
Debug mode has to have: -DQT_DEBUG
Release mode has to have: -DQT_NO_DEBUG
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
["signature.asc" (application/pgp-signature)]
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic