By: awinterz
2007
29
Dec
29
Dec
Thanks to Marc Mutz's idea, one can now set their application debug area by telling the C++ compiler about it and then never having to remember that debug area again.
"Set it and forget it"
Simply add the following line into your application's top-level CMakeLists.txt
add_definitions(-DKDE_DEFAULT_DEBUG_AREA=XXXX)
(replacing XXXX with your debug area).
Then replace kDebug(XXXX) with kDebug() in your code and you never have to worry about remembering (or correctly typing) your debug area again.
- awinterz's blog
- Login or register to post comments
- 1483 reads