mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-16 17:11:53 -05:00
6e949fa64d
Build with the CMake configuration WSJT_TRACE_UDP set to ON to enable UDP message tracing to the debug log.
63 lines
1.6 KiB
C
63 lines
1.6 KiB
C
#ifndef WSJTX_CONFIG_H__
|
|
#define WSJTX_CONFIG_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define WSJTX_VERSION_MAJOR @WSJTX_VERSION_MAJOR@
|
|
#define WSJTX_VERSION_MINOR @WSJTX_VERSION_MINOR@
|
|
#define WSJTX_VERSION_PATCH @WSJTX_VERSION_PATCH@
|
|
|
|
#cmakedefine CMAKE_INSTALL_DATAROOTDIR "@CMAKE_INSTALL_DATAROOTDIR@"
|
|
#cmakedefine CMAKE_INSTALL_DOCDIR "@CMAKE_INSTALL_DOCDIR@"
|
|
#cmakedefine CMAKE_INSTALL_DATADIR "@CMAKE_INSTALL_DATADIR@"
|
|
#cmakedefine CMAKE_PROJECT_NAME "@CMAKE_PROJECT_NAME@"
|
|
#cmakedefine PROJECT_MANUAL "@PROJECT_MANUAL@"
|
|
#cmakedefine PROJECT_HOMEPAGE "@PROJECT_HOMEPAGE@"
|
|
#cmakedefine PROJECT_MANUAL_DIRECTORY_URL "@PROJECT_MANUAL_DIRECTORY_URL@"
|
|
#cmakedefine PROJECT_SAMPLES_URL "@PROJECT_SAMPLES_URL@"
|
|
#cmakedefine PROJECT_SUMMARY_DESCRIPTION "@PROJECT_SUMMARY_DESCRIPTION@"
|
|
|
|
#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_HAMLIB_VERBOSE_TRACE
|
|
#cmakedefine01 WSJT_SOFT_KEYING
|
|
#cmakedefine01 WSJT_ENABLE_EXPERIMENTAL_FEATURES
|
|
#cmakedefine01 WSJT_RIG_NONE_CAN_SPLIT
|
|
#cmakedefine01 WSJT_TRACE_UDP
|
|
|
|
#define WSJTX_STRINGIZE1(x) #x
|
|
#define WSJTX_STRINGIZE(x) WSJTX_STRINGIZE1(x)
|
|
|
|
/* consistent UNICODE behaviour */
|
|
#ifndef UNICODE
|
|
# undef _UNICODE
|
|
#else
|
|
# ifndef _UNICODE
|
|
# define _UNICODE
|
|
# endif
|
|
#endif
|
|
|
|
/* typedef for consistent gfortran ABI for charlen type hidden arguments */
|
|
#if __GNUC__ > 7
|
|
#ifdef __cplusplus
|
|
#include <cstddef>
|
|
#else
|
|
#include <stddef.h>
|
|
#endif
|
|
typedef size_t fortran_charlen_t;
|
|
#else
|
|
typedef int fortran_charlen_t;
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|