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
Description: This is a digitally signed message part.
_______________________________________________ Kde-buildsystem mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-buildsystem
