fbe8a2eaae
Currently not working are rename and setting of read only attribute and file times. In addition it also adds the ability to staticly link plugins into the binary, so you get one big exe and need no dlls. I have only tested this on windows (only disk plugin so far). I use the following options for cmake for static binary: cmake -DWITH_MONOLITHIC_BUILD=ON -DMSVC_RUNTIME=static -DBUILD_SHARED_LIBS=OFF -DWITH_RDPDR=ON -DOPENSSL_INCLUDE_DIR=\opensslpath\inc32 -DOPENSSL_LIBRARIES="\opensslpath\out32.dbg\ssleay32.lib;d:\path\out32.dbg\libeay32.lib" -G "Visual Studio 9 2008" . Important notice: Openssl need to be compiled with the same static runtime. Currently missing is a switch to link different openssl libraries for debug and release builds.
71 lines
1.9 KiB
C
71 lines
1.9 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_KEYMAP_PATH "${FREERDP_KEYMAP_PATH}"
|
|
#define FREERDP_PLUGIN_PATH "${FREERDP_PLUGIN_PATH}"
|
|
#define FREERDP_CLIENT_PLUGIN_PATH "${FREERDP_CLIENT_PLUGIN_PATH}"
|
|
#define FREERDP_SERVER_PLUGIN_PATH "${FREERDP_SERVER_PLUGIN_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_SYS_MODEM_H
|
|
#cmakedefine HAVE_SYS_FILIO_H
|
|
#cmakedefine HAVE_SYS_STRTIO_H
|
|
|
|
#cmakedefine HAVE_TM_GMTOFF
|
|
|
|
|
|
/* Options */
|
|
#cmakedefine WITH_PROFILER
|
|
#cmakedefine WITH_SSE2
|
|
#cmakedefine WITH_NEON
|
|
#cmakedefine WITH_NATIVE_SSPI
|
|
#cmakedefine WITH_JPEG
|
|
#cmakedefine WITH_WIN8
|
|
|
|
/* Plugins */
|
|
#cmakedefine WITH_STATIC_PLUGINS
|
|
#cmakedefine WITH_RDPDR
|
|
|
|
|
|
/* 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_TIMEZONE
|
|
#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
|