Build FreeRDP under MinGW in Window

- Install MinGW in Windows

  Please refer to my article: Windows MinGW32 Get Started

  Download the latest MinGW from: http://ignum.dl.sourceforge.net/project/mingw/Installer/mingw-get-inst/mingw-get-inst-20111118/mingw-get-inst-20111118.exe


- Install OpenSSL or Compile & Install OpenSSL

  . Install SSLeay (The OpenSSL is based on SSLeay)

    > Download it from: http://cpan.perl.org/modules/by-module/Net/Crypt-SSLeay-0.58.tar.gz

    > Extact it to the folder:  /usr/local/Crypt-SSLeay-0.58

  . Install directly: mingw-get install msys-libopenssl

  . Compile & Install:

    > Download source of open ssl: http://www.openssl.org/source/openssl-1.0.0g.tar.gz

    > Compile it: ./Configure mingw && make

    > Install it: make install (It'll install it to the folder /usr/local/ssl)


- Install CMake

  > Download and install it: http://www.cmake.org/files/v2.8/cmake-2.8.7-win32-x86.exe


- Compile FreeRDP

  . Git the source of FreeRDP from www.github.com: https://github.com/FreeRDP/FreeRDP

  . Make a new folder for building the source outside the source. It is .../FreeRDP/build in my case. (Don't make your original source dirty).

  . Configure the cross-compiling toolchain of CMake and put it to /home/xxxx/toolchain-mingw32.cmake. Like below:

# the name of the target operating system
SET(CMAKE_SYSTEM_NAME Windows)


SET(MINGW TRUE)
#SET(MSYS TRUE)
#SET(CMAKE_COMPILER_IS_GNUCC TRUE)


# which compilers to use for C and C++
SET(CMAKE_C_COMPILER mingw32-gcc)
SET(CMAKE_CXX_COMPILER mingw32-g++)
#SET(CMAKE_RC_COMPILER i586-mingw32msvc-windres)


# here is the target environment located
SET(CMAKE_FIND_ROOT_PATH  /mingw)


# adjust the default behaviour of the FIND_XXX() commands:
# search headers and libraries in the target environment, search 
# programs in the host environment
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)



#cmake -DCMAKE_TOOLCHAIN_FILE=/home/yyyy/toolchain-mingw32.cmake ..

  . Configure the compiling environments (Include CMake and MinGW etc.) and generate the cache file: build/CMakeCache.txt. Like below:

# This is the CMakeCache file.
# For build in directory: d:/FreeRDP/build
# It was generated by CMake: c:/Program Files/CMake 2.8/bin/cmake.exe
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.


########################
# EXTERNAL cache entries
########################


//Path to a program.
CMAKE_AR:FILEPATH=C:/MinGW/bin/ar.exe


//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=DEBUG


//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON


//C compiler.
CMAKE_C_COMPILER:FILEPATH=C:/MinGW/bin/mingw32-gcc.exe


//Path to a program.
CMAKE_C_COMPILER_WITH_PATH:FILEPATH=C:/MinGW/bin/mingw32-gcc.exe


//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=


//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=


//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=


//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=


//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=


//Libraries linked by defalut with all C applications.
CMAKE_C_STANDARD_LIBRARIES:STRING=-lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32


//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=' '


//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=


//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=


//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=


//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=


//Convert GNU import libraries to MS format (requires Visual Studio)
CMAKE_GNUtoMS:BOOL=OFF


//user executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin


//read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=


//read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share


//documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=


//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include


//info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=


//object code libraries (lib)
CMAKE_INSTALL_LIBDIR:PATH=lib


//program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec


//locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=


//modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var


//man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=


//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include


//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files/FreeRDP


//system admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin


//modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com


//read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc


//Path to a program.
CMAKE_LINKER:FILEPATH=C:/MinGW/bin/ld.exe


//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=c:/MinGW/bin/mingw32-make.exe


//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=' '


//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=


//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=


//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=


//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=


//Path to a program.
CMAKE_NM:FILEPATH=C:/MinGW/bin/nm.exe


//Path to a program.
CMAKE_OBJCOPY:FILEPATH=C:/MinGW/bin/objcopy.exe


//Path to a program.
CMAKE_OBJDUMP:FILEPATH=C:/MinGW/bin/objdump.exe


//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=FreeRDP


//RC compiler.
CMAKE_RC_COMPILER:FILEPATH=C:/MinGW/bin/windres.exe


//Flags for Fortran compiler.
CMAKE_RC_FLAGS:STRING=' '


//Path to a program.
CMAKE_SH:FILEPATH=C:/MinGW/msys/1.0/bin/sh.exe


//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=' '


//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=


//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=


//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=


//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=


//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=OFF


//Path to a program.
CMAKE_STRIP:FILEPATH=C:/MinGW/bin/strip.exe


//The CMake toolchain file
CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/MinGW/msys/1.0/home/yyyy/toolchain-mingw32.cmake


//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=OFF


//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make.  This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=OFF


//Enable to build NSIS packages
CPACK_BINARY_NSIS:BOOL=ON


//Enable to build ZIP packages
CPACK_BINARY_ZIP:BOOL=OFF


//Enable to build ZIP source packages
CPACK_SOURCE_ZIP:BOOL=ON


//Value Computed by CMake
FreeRDP_BINARY_DIR:STATIC=D:/FreeRDP/build


//Value Computed by CMake
FreeRDP_SOURCE_DIR:STATIC=D:/FreeRDP


//Path to a library.
LIB_EAY:FILEPATH=C:/MinGW/msys/1.0/local/Crypt-SSLeay-0.58/lib


//Path to a file.
OPENSSL_INCLUDE_DIR:PATH=C:/MinGW/msys/1.0/local/ssl/include


OPENSSL_LIBRARIES:PATH=C:/MinGW/msys/1.0/local/ssl


//pkg-config executable
PKG_CONFIG_EXECUTABLE:FILEPATH=PKG_CONFIG_EXECUTABLE-NOTFOUND


//Path to a library.
SSL_EAY:FILEPATH=C:\MinGW\msys\1.0\local\Crypt-SSLeay-0.58


//Build client binaries
WITH_CLIENT:BOOL=ON


//Add dependency to CUnit
WITH_CUNIT:BOOL=OFF


//Print certificate related debug messages.
WITH_DEBUG_CERTIFICATE:BOOL=OFF


//Print channel manager debug messages.
WITH_DEBUG_CHANMAN:BOOL=OFF


//Print clipboard redirection debug messages
WITH_DEBUG_CLIPRDR:BOOL=OFF


//Print dynamic virtual channel debug messages.
WITH_DEBUG_DVC:BOOL=OFF


//Print graphics debug messages.
WITH_DEBUG_GDI:BOOL=OFF


//Print keyboard related debug messages.
WITH_DEBUG_KBD:BOOL=OFF


//Print license debug messages.
WITH_DEBUG_LICENSE:BOOL=OFF


//Print negotiation related debug messages.
WITH_DEBUG_NEGO:BOOL=OFF


//Print authentication related debug messages.
WITH_DEBUG_NLA:BOOL=OFF


//Print drawing orders debug messages
WITH_DEBUG_ORDERS:BOOL=OFF


//Print RemoteApp debug messages
WITH_DEBUG_RAIL:BOOL=OFF


//Redirection debug messages
WITH_DEBUG_REDIR:BOOL=OFF


//Print RemoteFX debug messages.
WITH_DEBUG_RFX:BOOL=OFF


//Print smartcard debug messages
WITH_DEBUG_SCARD:BOOL=OFF


//Print static virtual channel debug messages.
WITH_DEBUG_SVC:BOOL=OFF


//Print transport debug messages.
WITH_DEBUG_TRANSPORT:BOOL=OFF


//Print window order debug messages
WITH_DEBUG_WND:BOOL=OFF


//Print X11 Client debug messages
WITH_DEBUG_X11:BOOL=OFF


//Print X11 clipboard redirection debug messages
WITH_DEBUG_X11_CLIPRDR:BOOL=OFF


//Print X11 Client local movesize debug messages
WITH_DEBUG_X11_LOCAL_MOVESIZE:BOOL=OFF


//Print XVideo debug messages
WITH_DEBUG_XV:BOOL=OFF


//Generate manpages.
WITH_MANPAGES:BOOL=ON


//Enable NEON optimization for rfx decoder
WITH_NEON:BOOL=OFF


//Compile profiler.
WITH_PROFILER:BOOL=OFF


//Build server binaries
WITH_SERVER:BOOL=OFF


//Use SSE2 optimization.
WITH_SSE2:BOOL=OFF


//Allow compiler to generate SSE2 instructions.
WITH_SSE2_TARGET:BOOL=OFF


//Dependencies for the target
freerdp-cache_LIB_DEPENDS:STATIC=general;freerdp-core;general;freerdp-utils;


//Dependencies for the target
freerdp-channels_LIB_DEPENDS:STATIC=general;freerdp-utils;


//Dependencies for the target
freerdp-codec_LIB_DEPENDS:STATIC=general;freerdp-utils;


//Dependencies for the target
freerdp-core_LIB_DEPENDS:STATIC=general;ws2_32;general;C:\MinGW\msys\1.0\local\Crypt-SSLeay-0.58;general;C:/MinGW/msys/1.0/local/Crypt-SSLeay-0.58/lib;general;freerdp-utils;general;freerdp-codec;


//Dependencies for the target
freerdp-gdi_LIB_DEPENDS:STATIC=general;freerdp-core;general;freerdp-cache;general;freerdp-codec;


//Dependencies for the target
freerdp-rail_LIB_DEPENDS:STATIC=general;freerdp-utils;


//Dependencies for the target
freerdp-utils_LIB_DEPENDS:STATIC=general;-lpthread;general;ws2_32;




########################
# INTERNAL cache entries
########################


//Result of TEST_BIG_ENDIAN
BIG_ENDIAN:INTERNAL=0
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_BUILD_TOOL
CMAKE_BUILD_TOOL-ADVANCED:INTERNAL=1
//What is the target build tool cmake is generating for.
CMAKE_BUILD_TOOL:INTERNAL=c:/MinGW/bin/mingw32-make.exe
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=d:/FreeRDP/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=2
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=8
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=7
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=c:/Program Files/CMake 2.8/bin/cmake.exe
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=c:/Program Files/CMake 2.8/bin/cpack.exe
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=c:/Program Files/CMake 2.8/bin/ctest.exe
//ADVANCED property for variable: CMAKE_C_COMPILER
CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_COMPILER_WITH_PATH
CMAKE_C_COMPILER_WITH_PATH-ADVANCED:INTERNAL=1
CMAKE_C_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1
//Result of TRY_COMPILE
CMAKE_DETERMINE_C_ABI_COMPILED:INTERNAL=TRUE
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=C:/Program Files/CMake 2.8/bin/cmake-gui.exe
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of generator.
CMAKE_GENERATOR:INTERNAL=MinGW Makefiles
//Have library pthreads
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
//Have include CMAKE_HAVE_PTHREAD_H
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Start directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=D:/FreeRDP
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_LOCAL_GENERATORS:INTERNAL=12
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//noop for ranlib
CMAKE_RANLIB:INTERNAL=:
//ADVANCED property for variable: CMAKE_RC_COMPILER
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1
CMAKE_RC_COMPILER_WORKS:INTERNAL=1
//ADVANCED property for variable: CMAKE_RC_FLAGS
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=c:/Program Files/CMake 2.8/share/cmake-2.8
//ADVANCED property for variable: CMAKE_SH
CMAKE_SH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//CHECK_TYPE_SIZE: sizeof(unsigned short)
CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=2
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//Suppress Warnings that are meant for the author of the CMakeLists.txt
// files.
CMAKE_SUPPRESS_DEVELOPER_WARNINGS:INTERNAL=FALSE
//ADVANCED property for variable: CMAKE_USE_RELATIVE_PATHS
CMAKE_USE_RELATIVE_PATHS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_NSIS
CPACK_BINARY_NSIS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_BINARY_ZIP
CPACK_BINARY_ZIP-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CPACK_SOURCE_ZIP
CPACK_SOURCE_ZIP-ADVANCED:INTERNAL=1
//Details about finding OpenSSL
FIND_PACKAGE_MESSAGE_DETAILS_OpenSSL:INTERNAL=[C:\MinGW\msys\1.0\local\Crypt-SSLeay-0.58;C:/MinGW/msys/1.0/local/Crypt-SSLeay-0.58/lib][C:/MinGW/msys/1.0/local/ssl/include][v1..()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//Result of TRY_COMPILE
HAVE_BIG_ENDIAN:INTERNAL=TRUE
//Result of TRY_COMPILE
HAVE_CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=TRUE
//Have include HAVE_FCNTL_H
HAVE_FCNTL_H:INTERNAL=1
//Have include HAVE_INTTYPES_H
HAVE_INTTYPES_H:INTERNAL=1
//Have include HAVE_LIMITS_H
HAVE_LIMITS_H:INTERNAL=1
//Have includes HAVE_NETDB_H
HAVE_NETDB_H:INTERNAL=
//Have include HAVE_STDBOOL_H
HAVE_STDBOOL_H:INTERNAL=1
//Have include stddef.h
HAVE_STDDEF_H:INTERNAL=1
//Have include HAVE_STDINT_H
HAVE_STDINT_H:INTERNAL=1
//Have include HAVE_SYS_PARAM_H
HAVE_SYS_PARAM_H:INTERNAL=1
//Have includes HAVE_SYS_SOCKET_H
HAVE_SYS_SOCKET_H:INTERNAL=
//Have include sys/types.h
HAVE_SYS_TYPES_H:INTERNAL=1
//Have include HAVE_UNISTD_H
HAVE_UNISTD_H:INTERNAL=1
//ADVANCED property for variable: LIB_EAY
LIB_EAY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OPENSSL_INCLUDE_DIR
OPENSSL_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: OPENSSL_LIBRARIES
OPENSSL_LIBRARIES-ADVANCED:INTERNAL=1
//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE
PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SSL_EAY
SSL_EAY-ADVANCED:INTERNAL=1
//Test Wno-unused-but-set-variable
Wno-unused-but-set-variable:INTERNAL=1
//Test Wno-unused-result
Wno-unused-result:INTERNAL=1


  . Generate the native MinGW makefiles:

    > cmake ..

  . Build it

    > mingw32-make.exe

  . Compiling ... && Waiting for the finish ...






發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章