Compile on Release Mode

Thiago Macieira thiago at
Fri Oct 3 08:55:58 CEST 2008

On Friday 03 October 2008 07:42:45 Sune Vuorela wrote:
> Suse builds in release mode. Debian and fedora has patched in a "debian" or
> "fedora" build type which gets the C/CXX flags from the environment and is
> a different mix of the release and releasewithdebuginfo build modes. iirc
> fedora uses -DNDEBUG -DQT_NO_DEBUG  where debian only uses -DNDEBUG

You -DCMAKE_BUILD_TYPE=custom plus setting -DCMAKE_C_FLAGS and -
DCMAKE_CXX_FLAGS should work for that purpose.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the Kde-buildsystem mailing list