[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: which is the difference between kDebug() and kDebug(1204)?
From: Tsiapaliwkas Giorgos <terietor () gmail ! com>
Date: 2011-03-30 16:30:22
Message-ID: 201103301930.22851.terietor () gmail ! com
[Download RAW message or body]
On Wednesday, March 30, 2011 06:54:56 PM Aaron J. Seigo wrote:
> to do the same in your own project, do this in your CMakeLists.txt file:
>
> add_definitions(-DKDE_DEFAULT_DEBUG_AREA=1209)
>
> and replace the "1209" (that's what we use in libplasma) with some number
> of your chosing. voila... all kDebug() calls become kDebug(<your custom
> debug area>) automagically.
>
> woot.
thanks
especially the "trick" with the CMakeLists.txt file is very useful :)
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic