mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-24 05:08:38 -05:00
51c5f5a84f
WSJT-X has a capability of redirecting Qt debugging output (qDebug, qWarning etc.) to a trace file 'wsjtx_trace.log' which is created in the application run directory if not already present. Setting the CMake build option WSJT_QDEBUG_TO_FILE to ON will enable this feature. It should be noted that this option is not compatible with a distributibutable official release since writing to the application directory is not recommended. Also in a full Release configuration build all Qt debugging code is elided so no useful trace would be obtained anyway. The CMake option WSJT_QDEBUG_IN_RELEASE may be useful in concert with this option as it causes Qt debugging statements to remain in place in a Release build configuration. Again not recommended in a full Release build since the debugging code both slows down the application and adds unecessary bloat to the executable size. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4032 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
32 lines
1.0 KiB
C
32 lines
1.0 KiB
C
#ifndef WSJTX_CONFIG_H__
|
|
#define WSJTX_CONFIG_H__
|
|
|
|
#define WSJTX_VERSION_MAJOR @WSJTX_VERSION_MAJOR@
|
|
#define WSJTX_VERSION_MINOR @WSJTX_VERSION_MINOR@
|
|
#define WSJTX_VERSION_PATCH @WSJTX_VERSION_PATCH@
|
|
#cmakedefine WSJTX_RC @WSJTX_RC@
|
|
#cmakedefine01 WSJTX_VERSION_IS_RELEASE
|
|
|
|
#define CONFIG_TEST_VERSION_MAJOR @CONFIG_TEST_VERSION_MAJOR@
|
|
#define CONFIG_TEST_VERSION_MINOR @CONFIG_TEST_VERSION_MINOR@
|
|
#define CONFIG_TEST_VERSION_PATCH @CONFIG_TEST_VERSION_PATCH@
|
|
|
|
#cmakedefine WSJT_BIN_DESTINATION "@WSJT_BIN_DESTINATION@"
|
|
#cmakedefine WSJT_LIB_DESTINATION "@WSJT_LIB_DESTINATION@"
|
|
#cmakedefine WSJT_SHARE_DESTINATION "@WSJT_SHARE_DESTINATION@"
|
|
#cmakedefine WSJT_DOC_DESTINATION "@WSJT_DOC_DESTINATION@"
|
|
|
|
#cmakedefine01 WSJT_SHARED_RUNTIME
|
|
#cmakedefine01 WSJT_QDEBUG_TO_FILE
|
|
#cmakedefine01 WSJT_QDEBUG_IN_RELEASE
|
|
#cmakedefine01 WSJT_TRACE_CAT
|
|
#cmakedefine01 WSJT_TRACE_CAT_POLLS
|
|
#cmakedefine01 WSJT_HAMLIB_TRACE
|
|
#cmakedefine01 WSJT_STANDARD_FILE_LOCATIONS
|
|
#cmakedefine01 WSJT_SOFT_KEYING
|
|
|
|
#define WSJTX_STRINGIZE1(x) #x
|
|
#define WSJTX_STRINGIZE(x) WSJTX_STRINGIZE1(x)
|
|
|
|
#endif
|