Commit Graph

24 Commits

Author SHA1 Message Date
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 d73c4898c1 Add build-config.h
build-config.h should contain configure/compile time settings that are
relevant for projects that use FreeRDP.

For example the compiled in plugin search paths.
2015-11-09 15:54:22 +01:00
Marc-André Moreau 1c9231acf8 libfreerdp-rail: remove 2014-11-12 19:51:17 -05:00
Bernhard Miklautz c9f49162bd install version.h 2013-11-06 17:44:17 +01:00
Bernhard Miklautz a0161a12ac moved version information to freerdp/version.h
fixed #1465
2013-11-06 17:29:33 +01:00
Marc-André Moreau 63858bf722 cmake: improve NSIS packaging 2012-10-17 13:07:29 -04:00
Marc-André Moreau e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -04:00
Marc-André Moreau 837cc777ce channels: move include/freerdp/plugins to include/freerdp/client 2012-10-08 20:33:58 -04:00
Marc-André Moreau 93f88d1c48 channels: added support for loading plugins from a static entry table 2012-10-08 19:54:11 -04:00
Marc-André Moreau e9936ddc96 cmake: merging with master 2012-08-14 20:21:00 -04:00
Marc-André Moreau c5624ce58f include: fix installation of headers 2012-08-14 19:55:48 -04:00
Vic Lee 6d431d7a28 cmake: in case build path is different config.h needs to be install separately. 2012-08-13 17:24:52 +08:00
Marc-André Moreau 6720e664d7 winpr: get rid of config.h include in installable headers 2012-08-12 20:43:24 -04:00
Vic Lee 052f841d7f server: add rdpsnd server channel library. 2012-05-24 14:03:21 +08:00
Marc-André Moreau 85eaf79239 cunit: fix compilation 2012-05-05 20:45:13 -04:00
maelnor 61010feae8 Fix header files installation 2012-02-22 13:17:59 +04:00
Anthony Tong 00133a2090 build fixes 2011-10-17 09:39:21 -04:00
Vic Lee f9ef2784f7 include: fix libfreerdp-codec header installation. 2011-10-04 19:07:54 +08:00
ydal 784633aba0 Edited include/CMakeLists.txt via GitHub 2011-09-07 16:24:17 +09:00
Rex Tsai a75b4f8162 cmake: Install all extra headres. 2011-09-01 22:28:48 +08:00
Vic Lee 559e610b80 cmake: fix installation of all headers. 2011-08-30 16:00:09 +08:00
Otavio Salvador b41e5419a1 cmake: fix headers installation path
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-07-17 16:05:32 -03:00
Marc-André Moreau fd2d804578 cmake: updated copyright notices 2011-07-02 13:58:55 -04:00
Marc-André Moreau e038b068b8 cmake: initial commit 2011-06-30 20:31:07 -04:00