← Back to team overview

kicad-developers team mailing list archive

__WXDEBUG__

 

Wayne,

How are you defining this in your debug builds?
I cannot see it in the CMake scripts.  Wanted to use wxLogDebug(), which
I feel should be enabled by the build system on any Debug
CMAKE_BUILD_TYPE, but it is not.

Seems to me that if CMAKE_BUILD_TYPE==Debug, then we should be defining
__WXDEBUG__ in our build scripts automatically?

Or I can simply use my D() macro wrapping printf().





Follow ups