mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-08 18:16:02 -05:00
67 lines
1.8 KiB
C
67 lines
1.8 KiB
C
#ifndef WSJTX_CONFIG_H__
|
|
#define WSJTX_CONFIG_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#ifndef TO_STRING__
|
|
#define TO_STRING_IMPL__(x) #x
|
|
#define TO_STRING__(x) TO_STRING_IMPL__(x)
|
|
#endif
|
|
|
|
#define PROJECT_VERSION_MAJOR @PROJECT_VERSION_MAJOR@
|
|
#define PROJECT_VERSION_MINOR @PROJECT_VERSION_MINOR@
|
|
#define PROJECT_VERSION_PATCH @PROJECT_VERSION_PATCH@
|
|
#define PROJECT_VERSION_TWEAK @PROJECT_VERSION_TWEAK@
|
|
#define BUILD_TYPE_REVISION "@BUILD_TYPE_REVISION@"
|
|
|
|
#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_VENDOR "@PROJECT_VENDOR@"
|
|
#cmakedefine PROJECT_NAME "@PROJECT_NAME@"
|
|
#cmakedefine PROJECT_COPYRIGHT "@PROJECT_COPYRIGHT@"
|
|
#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_DESCRIPTION "@PROJECT_DESCRIPTION@"
|
|
|
|
#cmakedefine01 HAVE_HAMLIB_OLD_CACHING
|
|
#cmakedefine01 HAVE_HAMLIB_CACHING
|
|
|
|
#cmakedefine01 WSJT_SHARED_RUNTIME
|
|
#cmakedefine01 WSJT_SOFT_KEYING
|
|
#cmakedefine01 WSJT_ENABLE_EXPERIMENTAL_FEATURES
|
|
#cmakedefine01 WSJT_RIG_NONE_CAN_SPLIT
|
|
#cmakedefine01 WSJT_TRACE_UDP
|
|
|
|
/* 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
|