Commit Graph

28 Commits

Author SHA1 Message Date
Kyle Evans a7c0632bf2 Use SetFreeRDPCMakeInstallDir where CMake modules are installed 2018-05-02 10:36:52 -05:00
Armin Novak 8eaba5b002 Fixed mac server compilation. 2017-11-24 13:21:43 +01:00
Bernhard Miklautz 6fa3608111 cleanup cmake exports and pkg-config files
With this commit the "exported" components (usable with pkg-config and
cmake find module package)
* winpr - winpr library and headers
* freerdp - core library and headers
* freerdp-client - client specific library
* freerdp-server - server specific library
* rdtk - rdtk headers and library

To allow the installation of multiple different version (different major
number) the include files were moved into the respective sub folder:
freerdp -> freerdp{MAJOR}/freerdp (currently freerdp2/freerdp/)
winpr -> winpr{MAJOR}/winpr (currently winrp1/winpr/)
rdtk -> rdpk{MAJOR}/rdtk (currently rdtk0/rdtk/

The generated pkg-config and cmake find modules now also include the major
version number. Currently the following pkg-config are generated and
installed.
* winpr1
* freerdp2
* freerdp-server2
* freerdp-client2
* rdtk0

As cmake is able to handle multiple versions out of the box the
following can be used to find a specific module:

find_package(WinPR)
find_package(FreeRDP)
find_package(FreeRDP-Server)
find_package(FreeRDP-Client)
find_package(RdTk)

As cmake doesn't automatically resolve dependencies for packages it is
necessary to manually include the requirements. For example if
FreeRDP-Client is required WinPR and FreeRDP need to be included
(find_package) as well.

This commit also fixes the installation when STATIC_CHANNELS are built.
WITH STATIC_CHANNELS all channels are linked into libfreerdp-client, for
this all channels are generated as linker archive and linked together in
the final step. Before the intermediate linker archives were, although
not required and useful, installed. Same applies for server side
channels.
2016-01-12 17:32:33 +01:00
Bernhard Miklautz 1b663ceffe build: cmake 3.1 compatibility
* fix problem with REMOVE_DUPLICATES on undefined lists
* since 3.1 file(GLOB FILEPATHS RELATIVE .. returns single / instead of // as
  previously - necessary adoptions for regex and matches done. Should
	work with all cmake versions.

Tested with 3.1.0-rc3
2014-12-12 19:26:22 +01:00
Marc-André Moreau 4fbec7633a cmake: add WITH_FREERDS option 2014-11-17 12:31:31 -05:00
Marc-André Moreau 4f498d6830 mfreerdp-server: disable in favor of shadow server 2014-09-17 22:59:58 -04:00
Marc-André Moreau 1ba42dccf3 shadow: improve DXGI support 2014-08-12 16:57:58 -04:00
Marc-André Moreau 0196a02354 freerdp-shadow: start new cross-platform shadowing server 2014-07-10 15:46:34 -04:00
Marc-André Moreau bbc9fc4393 freerdp: add more vendor options 2014-05-09 12:25:05 -04:00
Marc-André Moreau cdb8551dd0 cmake: check for inclusion of FreeRDS 2013-10-31 19:46:59 -04:00
Marc-André Moreau b480ce1830 freerdp: remove vendor-specific options from build system, add automatic ways of including external clients/servers 2013-09-03 20:37:04 -04:00
Norbert Federa 729814fabd sample server: support build on win32 2013-06-24 18:02:21 +02:00
Marc-André Moreau 43fe216179 cmake: include xrdp-ng if present 2013-05-05 15:01:13 -04:00
Marc-André Moreau a644658573 server: add hook 2013-04-22 18:47:53 -04:00
Marc-André Moreau e62860ab29 cmake: replace FindOptionalPackage macros with FindFeature macros 2012-11-02 19:27:01 -04:00
Marc-André Moreau 6882b1fa9d mfreerdp-server: initial commit 2012-10-31 23:04:31 -04:00
Marc-André Moreau 8cfb69623e libfreerdp-channels: add libfreerdp-client and libfreerdp-server libraries that bundle client/server static channels 2012-10-14 03:43:10 -04:00
Marc-André Moreau 6a592b5720 cmake: add WITH_SAMPLE, fix inclusion of X11 code 2012-10-13 20:55:28 -04:00
Marc-André Moreau e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
Marc-André Moreau 659a901450 cmake: add solution folder subdirectories 2012-10-01 11:48:53 -04:00
Marc-André Moreau e4e85be15d channels: add automatic inclusion and bundling of built-in server channels 2012-09-22 19:25:21 -04:00
Vic Lee 0989ccf29d cmake: include libfreerdp-server-channels in Windows build. 2012-08-09 07:51:44 +08:00
Marc-André Moreau d72f235ffc wfreerdp-server: initial commit 2012-06-07 19:51:00 -04:00
Vic Lee 052f841d7f server: add rdpsnd server channel library. 2012-05-24 14:03:21 +08:00
Bernhard Miklautz 668c8c8cef build: use WITH_XXX instead of XXX_FOUND
To check if something should be en- or disabled WITH_XXX
should be used and not XXX_FOUND.

If XXX_FOUND is used and something gets disabled afterwards (by setting
WITH_XXX to OFF) it will be compiled in as long as XXX_FOUND is found in
cmake's cache file. So disabling a feature, or option, without
clearing the CMakeCache.txt might result in builds with unwanted
configuration.
2012-01-23 14:40:05 +01:00
Marc-André Moreau 5c25717eae xfreerdp-server: encode a single tile from X11 at a hardcoded position 2011-09-13 19:03:06 -04:00
Marc-André Moreau a08908c602 xfreerdp-server: initial commit 2011-09-13 16:30:16 -04:00
Vic Lee 5fc87c25cf server: create initial server API. 2011-08-18 16:06:32 +08:00