[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Wanted: macro to hide code in a release build?
From:       Chusslove Illich <caslav.ilic () gmx ! net>
Date:       2008-05-18 19:34:15
Message-ID: 200805182134.24819.caslav.ilic () gmx ! net
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


> [: Friedrich W. H. Kossebau :]
> But what macro can I use in the code?
>
>   #ifdef ???
>       mControllers.append( new VersionViewController(this) );
>   #endif

#ifndef NDEBUG ought to do it. NDEBUG is defined when
-DCMAKE_BUILD_TYPE=release is passed to cmake.

-- 
Chusslove Illich (Часлав Илић)

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic