[CMake] CMake questions

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Thu May 22 09:22:46 EDT 2008


> Von: dizzy
> On Thursday 22 May 2008 12:03:01 Oleg Puchinin wrote:
> > Hello !
> >
<snip>
> > 2. How to build target with debug info ?
> 
> There are several solutions here. A not very portable aproach is to add 
> whatever compiler flags you wish to the compile command used, using
> cmake's 
> SET_TARGET_PROPERTIES and setting the COMPILE_FLAGS property (see the man 
> page again, this time on SET_TARGET_PROPERTIES).
> 
Why not simply setting CMAKE_BUILD_TYPE to Debug ??


Christian
-- 
Desperate Housewives - das Spiel!
Pikante Skandale, schockierende Details unter: http://flat.games.gmx.de


More information about the CMake mailing list