FreeRDP
CMakeLists.txt File Reference

Functions

 cmake_minimum_required (VERSION 3.4) project(FreeRDP C) set(CMAKE_C_STANDARD 99) set(CMAKE_C_STANDARD_REQUIRED ON) set(CMAKE_C_EXTENSIONS ON) 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(ShowCMakeVars) include(ConfigOptions) include(ComplexLibrary) include(FeatureSummary) include(CheckCCompilerFlag) 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_VERSION_STRING "3.0.0-dev") if(EXISTS "$
 
source_tag file (READ ${PROJECT_SOURCE_DIR}/.source_tag RAW_VERSION_STRING) elseif(USE_VERSION_FROM_GIT_TAG) git_get_exact_tag(_GIT_TAG --tags --always) if(NOT $
 
STREQUAL n a set (RAW_VERSION_STRING ${_GIT_TAG}) endif() endif() string(STRIP $
 
RAW_VERSION_STRING set (VERSION_REGEX "^.?([0-9]+)\\.([0-9]+)\\.([0-9]+)-?(.*)") string(REGEX REPLACE "$
 
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 "$
 
fPIC else () set(CMAKE_C_FLAGS "$
 

Variables

 FREERDP_VERSION_MAJOR
 

Function Documentation

◆ add_definitions() [1/2]

MATCHES Linux OR FREEBSD add_definitions ( )

◆ add_definitions() [2/2]

MATCHES SunOS add_definitions ( "-D_POSIX_PTHREAD_SEMANTICS"  )

◆ cmake_minimum_required()

cmake_minimum_required ( VERSION 3.  4)

◆ else()

fPIC else ( )

◆ file()

source_tag file ( READ ${PROJECT_SOURCE_DIR}/.source_tag  RAW_VERSION_STRING)

◆ if()

cmake if ( (CMAKE_SYSTEM_NAME MATCHES "WindowsStore") AND(CMAKE_SYSTEM_VERSION MATCHES "10.0")  )

◆ message()

and is very picky message ( STATUS "Random freeing errors are a common sign of runtime issues"  )

◆ set() [1/3]

set ( BUILD_NUMBER $ENV{BUILD_NUMBER}  )

◆ set() [2/3]

STREQUAL n a set ( RAW_VERSION_STRING ${_GIT_TAG}  )

◆ set() [3/3]

RAW_VERSION_STRING set ( VERSION_REGEX "^.?([0-9]+)\\.([0-9]+)\\.([0-9]+)-?(.*)"  )

Variable Documentation

◆ FREERDP_VERSION_MAJOR

FREERDP_VERSION_MAJOR