[Kde-games-devel] Debug/Release flag
Aaron J. Seigo
aseigo at kde.org
Wed Jun 20 08:29:41 CEST 2007
On Wednesday 20 June 2007, Martin Heni wrote:
> Does anybody know whether there is a compiler flag or so which I can use in
> the code to have some parts compiled in only for a debug compile process
> but are removed for the final release code? Or is this not a good idea
> anyway?
>
#ifndef NDEBUG
... debug code goes here ...
#endif
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20070620/29ed1ca6/attachment.pgp
More information about the kde-games-devel
mailing list