FreeRDP
CMakeLists.txt File Reference

Functions

 cmake_minimum_required (VERSION 2.8) project(FreeRDP C CXX) if(NOT DEFINED VENDOR) set(VENDOR"FreeRDP"CACHE STRING"FreeRDP package vendor") endif() if(NOT DEFINED PRODUCT) set(PRODUCT"FreeRDP"CACHE STRING"FreeRDP package name") endif() if(NOT DEFINED FREERDP_VENDOR) set(FREERDP_VENDOR 1) endif() set(CMAKE_COLOR_MAKEFILE ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_MODULE_PATH $
 
cmake if ((CMAKE_SYSTEM_NAME MATCHES"WindowsStore") AND(CMAKE_SYSTEM_VERSION MATCHES"10.0")) set(UWP 1) add_definitions("-D_UWP") set(CMAKE_WINDOWS_VERSION"WIN10") endif() include(CheckCmakeCompat) if(WITH_CLANG_FORMAT) include(ClangFormat) endif() include(CheckIncludeFiles) include(CheckLibraryExists) include(CheckSymbolExists) include(CheckStructHasMember) include(FindPkgConfig) include(TestBigEndian) include(FindFeature) include(ConfigOptions) include(ComplexLibrary) include(FeatureSummary) include(CheckCCompilerFlag) include(CheckCXXCompilerFlag) include(GNUInstallDirsWrapper) include(CMakePackageConfigHelpers) include(InstallFreeRDPMan) include(GetGitRevisionDescription) include(SetFreeRDPCMakeInstallDir) set(BUILD_NUMBER 0) if($ENV
 
 set (BUILD_NUMBER $ENV{BUILD_NUMBER}) endif() set(WITH_LIBRARY_VERSIONING"ON") set(RAW_VERSTION_STRING"2.0.0-dev5") if(EXISTS"$
 
source_tag file (READ ${CMAKE_SOURCE_DIR}/.source_tag RAW_VERSTION_STRING) elseif(USE_VERSION_FROM_GIT_TAG) git_get_exact_tag(_GIT_TAG--tags--always) if(NOT $
 
STREQUAL n a set (RAW_VERSTION_STRING ${_GIT_TAG}) endif() endif() string(STRIP $
 
RAW_VERSTION_STRING set (VERSION_REGEX"^.?([0-9]+)\\.([0-9]+)\\.([0-9]+)-?(.*)") string(REGEX REPLACE"$
 
please use BUILTIN_CHANNELS instead set (BUILTIN_CHANNELS ${STATIC_CHANNELS}CACHE BOOL""FORCE) endif() if(CMAKE_INSTALL_PREFIX) get_filename_component(CMAKE_INSTALL_PREFIX"$
 
ABSOLUTE endif () if(FREERDP_EXTERNAL_PATH) get_filename_component(FREERDP_EXTERNAL_PATH"$
 
 set_property (GLOBAL PROPERTY RULE_LAUNCH_LINK ${CCACHE}) endif() endif(CCACHE AND WITH_CCACHE) if(EXISTS"$
 
source_version file (READ ${CMAKE_SOURCE_DIR}/.source_version GIT_REVISION) string(STRIP $
 
GIT_REVISION else () git_get_exact_tag(GIT_REVISION--tags--always) if($
 
STREQUAL n a git_rev_parse (GIT_REVISION--short) endif() endif() if(CMAKE_CROSSCOMPILING) endif(CMAKE_CROSSCOMPILING) message(STATUS"Git Revision $
 
 set_property (GLOBAL PROPERTY USE_FOLDERS ON) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE"Release") endif() if(NOT DEFINED BUILD_SHARED_LIBS) if(IOS) set(BUILD_SHARED_LIBS OFF) else() set(BUILD_SHARED_LIBS ON) endif() endif() if(BUILD_TESTING) set(EXPORT_ALL_SYMBOLS TRUE) elseif(NOT DEFINED EXPORT_ALL_SYMBOLS) set(EXPORT_ALL_SYMBOLS FALSE) endif() if(EXPORT_ALL_SYMBOLS) add_definitions(-DFREERDP_TEST_EXPORTS-DBUILD_TESTING) endif(EXPORT_ALL_SYMBOLS) if($
 
MATCHES BSD set (BSD TRUE) if($
 
MATCHES FreeBSD set (FREEBSD TRUE) endif() if($
 
MATCHES kFreeBSD set (KFREEBSD TRUE) endif() if($
 
MATCHES OpenBSD set (OPENBSD TRUE) endif() endif() if($
 
MATCHES DragonFly and is very picky message (STATUS"Random freeing errors are a common sign of runtime issues") endif() configure_msvc_runtime() if(NOT DEFINED CMAKE_SUPPRESS_REGENERATION) set(CMAKE_SUPPRESS_REGENERATION ON) endif() endif() if("$
 
MATCHES Linux OR FREEBSD add_definitions ("-D_FILE_OFFSET_BITS=64") endif() if("$
 
MATCHES SunOS add_definitions ("-D_POSIX_PTHREAD_SEMANTICS") endif() if(CMAKE_COMPILER_IS_GNUCC) if(CMAKE_SYSTEM_PROCESSOR MATCHES"x86_64"OR CMAKE_SYSTEM_PROCESSOR MATCHES"i686") if(IS_X86_64) set(CMAKE_C_FLAGS"$
 

Variables

 FREERDP_VERSION_MAJOR
 

Function Documentation

MATCHES Linux OR FREEBSD add_definitions ( )

Here is the caller graph for this function:

MATCHES SunOS add_definitions ( "-D_POSIX_PTHREAD_SEMANTICS"  )

Here is the call graph for this function:

cmake_minimum_required ( VERSION 2.  8)
fPIC else ( )
ABSOLUTE endif ( )

Here is the caller graph for this function:

source_tag file ( READ ${CMAKE_SOURCE_DIR}/.source_tag  RAW_VERSTION_STRING)

Here is the call graph for this function:

source_version file ( READ ${CMAKE_SOURCE_DIR}/.source_version  GIT_REVISION)
STREQUAL n a git_rev_parse ( GIT_REVISION--  short)
cmake if ( (CMAKE_SYSTEM_NAME MATCHES"WindowsStore") AND(CMAKE_SYSTEM_VERSION MATCHES"10.0")  )
MATCHES DragonFly and is very picky message ( STATUS"Random freeing errors are a common sign of runtime issues"  )

Here is the caller graph for this function:

set ( BUILD_NUMBER $ENV{BUILD_NUMBER}  )

Here is the call graph for this function:

STREQUAL n a set ( RAW_VERSTION_STRING ${_GIT_TAG}  )

Here is the call graph for this function:

RAW_VERSTION_STRING set ( VERSION_REGEX"^.?([0-9]+)\\.([0-9]+)\\.([0-9]+)-?(.*)"  )
please use BUILTIN_CHANNELS instead set ( BUILTIN_CHANNELS ${STATIC_CHANNELS}CACHE BOOL""  FORCE)
MATCHES DragonFly set ( BSD  TRUE)
MATCHES FreeBSD set ( FREEBSD  TRUE)
MATCHES kFreeBSD set ( KFREEBSD  TRUE)
MATCHES OpenBSD set ( OPENBSD  TRUE)
set_property ( GLOBAL PROPERTY RULE_LAUNCH_LINK ${CCACHE}  )

Here is the caller graph for this function:

set_property ( GLOBAL PROPERTY USE_FOLDERS  ON)

Variable Documentation

FREERDP_VERSION_MAJOR
Initial value:
{RAW_VERSTION_STRING}")
string(REGEX REPLACE "${VERSION_REGEX}" "\\2" FREERDP_VERSION_MINOR "${RAW_VERSTION_STRING}")
string(REGEX REPLACE "${VERSION_REGEX}" "\\3" FREERDP_VERSION_REVISION "${RAW_VERSTION_STRING}")
string(REGEX REPLACE "${VERSION_REGEX}" "\\4" FREERDP_VERSION_SUFFIX "${RAW_VERSTION_STRING}")
set(FREERDP_API_VERSION "${FREERDP_VERSION_MAJOR}")
set(FREERDP_VERSION "${FREERDP_VERSION_MAJOR}.${FREERDP_VERSION_MINOR}.${FREERDP_VERSION_REVISION}")
if (FREERDP_VERSION_SUFFIX)
set(FREERDP_VERSION_FULL "${FREERDP_VERSION}-${FREERDP_VERSION_SUFFIX}")
else()
set(FREERDP_VERSION_FULL "${FREERDP_VERSION}")
endif()
message("FREERDP_VERSION=${FREERDP_VERSION_FULL}")
set(FREERDP_INCLUDE_DIR "include/freerdp${FREERDP_VERSION_MAJOR}/")
if(DEFINED STATIC_CHANNELS)
message(WARNING "STATIC_CHANNELS is obsolete
cmake include(CheckCmakeCompat) include(FindFeature) include(ConfigOptions) include(CheckCCompilerFlag) include(GNUInstallDirsWrapper) include(CMakePackageConfigHelpers) if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE"Release") endif() if(NOT DEFINED BUILD_SHARED_LIBS) set(BUILD_SHARED_LIBS ON) endif() set(CMAKE_C_FLAGS"$
Definition: rdtk/CMakeLists.txt:35
FREERDP_VERSION_MAJOR
Definition: CMakeLists.txt:96