Compile on Release Mode

Andreas Pakulat apaku at gmx.de
Fri Oct 3 19:39:59 CEST 2008


On 03.10.08 11:10:16, Augusto Leite wrote:
> David Faure escreveu:
> > On Friday 03 October 2008, Allen Winter wrote:
> >   
> >> On Thursday 02 October 2008 16:40:52 Augusto Leite wrote:
> >>     
> >>> Hi,
> >>>
> >>> I am trying to compile KDE from sources, but cmake installs it on 
> >>> DebugFull mode. I am to install it on Release mode.
> >>>
> >>> I changed the script (from kde.org) and used:
> >>>
> >>> cmake "$srcFolder" -DCMAKE_INSTALL_PREFIX=$KDEDIR -DCMAKE_BUILD_TYPE=Release
> >>>
> >>> But it still installs on DebugFull mode. What can it be? Did I do 
> >>> something wrong?
> >>>
> >>>       
> >> FYI:  Last I knew, building in "Release Mode" was not supported.
> >>     
> >
> > Really !?!?! You mean that all the distributors making KDE packages use debug mode then?
> > That surprises me.
> >
> >   
> It used to work on 4.1. Is it something not supported now? (I'm using 
> KDE 4.2 SVN)

No, Release mode is always supposed to work. After all its the same as
RelWithDebInfo (which distro's probably use quite often), except having no
-g flag in the CXX flags.

Andreas

-- 
Beware of a dark-haired man with a loud tie.


More information about the Kde-buildsystem mailing list