[CMake] Debug buildtype broken
Andreas Pakulat
apaku at gmx.de
Wed Sep 19 08:49:53 EDT 2007
On 19.09.07 08:32:22, Bill Hoffman wrote:
> Andreas Pakulat wrote:
> >Hi,
> >
> >yesterday I noticed that the Debug buildtype has the same problems as
> >the --enable-debug option in autohell. Its not possible to properly
> >debug an application that has been built with CMAKE_BUILD_TYPE=Debug.
> >At least not with Unix Makefile's (possibly the same applies to MinGW
> >Makefile's but I didn't check that). The problem is the compiler flags
> >that are set in this build mode:
> >
> >-g -O2
> >
> I don't think that CMake does that. If you do CMAKE_BUILD_TYPE=Debug it just does
> -g.
Damn, should've done my homework :) Its a kde-issue indeed and not cmake
at fault here. Sorry for the noise.
Andreas
--
Change your thoughts and you change your world.
More information about the CMake
mailing list