Compile on Release Mode

Andreas Pakulat apaku at gmx.de
Fri Oct 3 00:33:49 CEST 2008


On 02.10.08 17: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?

man cmake says to specify the cmake options before the source path. So I
suggest to try that. It works quite fine here.

Oh and make sure to erase CMakeCache.txt before trying again, as the build
type might be cached.

Andreas

-- 
You have had a long-term stimulation relative to business.


More information about the Kde-buildsystem mailing list