[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-buildsystem
Subject:    Re: CMAKE_BUILD_TYPE=RelWithDebInfo description in TechBase
From:       Thiago Macieira <thiago () kde ! org>
Date:       2009-03-25 7:39:27
Message-ID: 200903250839.28397.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Raphael Kubo da Costa wrote:
>Hello,
>
>I was reading the description of the different values for
>CMAKE_BUILD_TYPE in
>http://techbase.kde.org/Development/CMake/Build_Types and saw that the
>"Debugging Features in Detail" table shows RelWithDebInfo as including
>support kDebug and qDebug.
>
>However, looking at
>http://websvn.kde.org/*checkout*/trunk/KDE/kdelibs/cmake/modules/FindKDE
>4Internal.cmake the CXXFLAGS for this build type is defined as follows:
>
>   set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
>
>Which effectively turns off kDebug (lines 44-47 in
>kdelibs/kdecore/io/kdebug.cpp) and possibly qDebug as well (I didn't
>look at qt-copy's source to check for QT_NO_DEBUG). My trunk was
>compiled with RelWithDebInfo and almost no kDebug messages were shown
>(though some were, for some reason, specially when no area was
>explicitly passed to it).
>
>So, is the article wrong?

Yes, it is.

RelWithDebInfo is "release with debugging symbols"

-- 
  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