mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-29 15:48:38 -05:00
0e214efb9c
Using the CMake module GNUInstallDirs to set up standard locations which allows better customisation for packagers building for various distributions. The change does change some internal package file paths and will leave some files in old locations in Windows installations. Running uninstall is probably wise on Windows before installing this new package layout if future clean uninstalls are desired. Linux and other *nix package maintainers can use the CMake variables CMAKE_INSTALL_xxx to vary the install paths of various components. See the CMake GNUInstallDirs module documentation for more details. An example might be for Slackware where package documents are expected to be installed into <install-prefix>/doc/<package-name>-<package-version>/ whereas the GNU default is to install them into <install-prefix>/share/doc/<package-name>/. To achieve this set the CMake variable CMAKE_INSTALL_DOCDIR as follows when configuring: cmake -D CMAKE_INSTALL_DOCDIR:PATH=doc/wsjtx-1.7.1 -D CMAKE_INSTALL_PREFIX= ... git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7623 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
41 lines
1.2 KiB
C
41 lines
1.2 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 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@"
|
|
|
|
#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
|
|
|
|
#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
|
|
|
|
#endif
|