[cmake-developers] Using -g3 in Debug config?
Brad King
brad.king at kitware.com
Tue Nov 12 09:00:23 EST 2013
On 11/12/2013 05:20 AM, Stephen Kelly wrote:
> KDE adds a DebugFull configuration which uses -g3 instead of -g. Would a
> patch changing Debug to use -g3 be accepted? I am told it adds support for
> macro expansion in the debugger.
Just about every default flag in one of standard CMake configurations
has been "wrong" for someone at some point. Perhaps we need to provide
an easier way for projects to select default flags on a per-toolchain
basis.
Alternatively, perhaps it is time to generalize debugging and optimizing
flags like preprocessor defs, -fPIC, etc. have been generalized.
-Brad
More information about the cmake-developers
mailing list