3d59c44f7a
Now --version prints something like "This is FreeRDP version 1.0.1 (git 1.0.1-710-g90ec2)". Having a git commit id helps to identify builds and eases debuggin. The downside is that GetGitRevisionDescription retriggers a cmake re-configuration after each git commit. But thats the only way to get correct version informations without having git hooks or similar. GetGitRevisionDescription is based on Ryan Pavlik cmake Modules.
57 lines
1.6 KiB
C
57 lines
1.6 KiB
C
#ifndef __CONFIG_H
|
|
#define __CONFIG_H
|
|
|
|
#define FREERDP_VERSION "${FREERDP_VERSION}"
|
|
#define FREERDP_VERSION_FULL "${FREERDP_VERSION_FULL}"
|
|
#define FREERDP_VERSION_MAJOR ${FREERDP_VERSION_MAJOR}
|
|
#define FREERDP_VERSION_MINOR ${FREERDP_VERSION_MINOR}
|
|
#define FREERDP_VERSION_REVISION ${FREERDP_VERSION_REVISION}
|
|
#define GIT_REVISION "${GIT_REVISION}"
|
|
|
|
#define FREERDP_DATA_PATH "${FREERDP_DATA_PATH}"
|
|
#define FREERDP_PLUGIN_PATH "${FREERDP_PLUGIN_PATH}"
|
|
#define FREERDP_KEYMAP_PATH "${FREERDP_KEYMAP_PATH}"
|
|
|
|
/* Include files */
|
|
#cmakedefine HAVE_FCNTL_H
|
|
#cmakedefine HAVE_UNISTD_H
|
|
#cmakedefine HAVE_LIMITS_H
|
|
#cmakedefine HAVE_STDINT_H
|
|
#cmakedefine HAVE_STDBOOL_H
|
|
#cmakedefine HAVE_INTTYPES_H
|
|
|
|
#cmakedefine HAVE_TM_GMTOFF
|
|
|
|
/* Options */
|
|
#cmakedefine WITH_PROFILER
|
|
#cmakedefine WITH_SSE2
|
|
#cmakedefine WITH_NEON
|
|
#cmakedefine WITH_NATIVE_SSPI
|
|
|
|
/* Debug */
|
|
#cmakedefine WITH_DEBUG_CERTIFICATE
|
|
#cmakedefine WITH_DEBUG_CHANNELS
|
|
#cmakedefine WITH_DEBUG_CLIPRDR
|
|
#cmakedefine WITH_DEBUG_DVC
|
|
#cmakedefine WITH_DEBUG_GDI
|
|
#cmakedefine WITH_DEBUG_KBD
|
|
#cmakedefine WITH_DEBUG_LICENSE
|
|
#cmakedefine WITH_DEBUG_NEGO
|
|
#cmakedefine WITH_DEBUG_NLA
|
|
#cmakedefine WITH_DEBUG_NTLM
|
|
#cmakedefine WITH_DEBUG_TSG
|
|
#cmakedefine WITH_DEBUG_ORDERS
|
|
#cmakedefine WITH_DEBUG_RAIL
|
|
#cmakedefine WITH_DEBUG_RDP
|
|
#cmakedefine WITH_DEBUG_REDIR
|
|
#cmakedefine WITH_DEBUG_RFX
|
|
#cmakedefine WITH_DEBUG_SCARD
|
|
#cmakedefine WITH_DEBUG_SVC
|
|
#cmakedefine WITH_DEBUG_TRANSPORT
|
|
#cmakedefine WITH_DEBUG_WND
|
|
#cmakedefine WITH_DEBUG_X11
|
|
#cmakedefine WITH_DEBUG_X11_CLIPRDR
|
|
#cmakedefine WITH_DEBUG_X11_LOCAL_MOVESIZE
|
|
#cmakedefine WITH_DEBUG_XV
|
|
#endif
|