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