Commit Graph

47 Commits

Author SHA1 Message Date
akallabeth
2b3c8c47a4 [build] fix install with BUILD_SHARED_LIBS=OFF
generate proper CMake targets so static linking works again.
2023-05-12 08:03:56 +02:00
Armin Novak
c23dc3ba9d [CMake] Fix use of BUILD_SHARED_LIBS
the option is named BUILD_SHARED_LIBS and not CMAKE_BUILD_SHARED_LIBS
2023-03-10 11:40:08 +01:00
akallabeth
273bb6a7a8 [build] use static libraries as intermediate 2023-03-01 08:18:34 +01:00
akallabeth
b4e9c8b39f [build] removed complex libraries
* remove obsolete complex libraries helper
* fix static linking
2023-03-01 08:18:34 +01:00
Armin Novak
defa74b94b [build] continue if SDL2 is requested but not found 2023-01-18 09:32:41 +01:00
Armin Novak
070353bf90 added SDL2 client 2023-01-10 17:38:00 +01:00
eronnen
be07eb6f35 moving android client build to be part of aFreeRDP.apk gradle build 2022-03-28 19:30:12 +02:00
akallabeth
e3cf5928c4 Make mac native client build configuratble 2022-02-17 09:53:52 +00:00
akallabeth
184506db4a
Fixed installation of FreeRDP-ClientTargets.cmake (#7115) 2021-06-24 10:02:02 +02:00
akallabeth
b453d5e40e Fixed rdtk, uwac and winpr standalone builds 2021-06-22 08:54:18 +02:00
Armin Novak
fff22f027b Removed DirectFB client as it is unmaintained
DirectFB support was in search of a maintainer for ages and
no longer compiles.
Since nobody stepped up get rid of this unused code once and for all.
2018-11-22 14:40:19 +01:00
Kyle Evans
a7c0632bf2 Use SetFreeRDPCMakeInstallDir where CMake modules are installed 2018-05-02 10:36:52 -05:00
Marc-André Moreau
4d629a7999 freerdp: UWP porting 2016-03-29 16:03:15 -04:00
comicfans44
6603039c2d only compile wayland client when WAYLAND_FOUND 2016-03-14 12:59:28 +00: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
Armin Novak
d4d4271000 Disabled client builds if WITH_CLIENT is not set. 2015-11-03 17:32:52 +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
Manuel Bachmann
d48adecd6c wlfreerdp: initial Wayland client
Implement an initial Wayland client, which will build if
the wayland-client development libraries are detected
(or if -DWITH_WAYLAND:BOOL=ON is set). It is currently
view-only, but inputs will be implemented soon.

It uses the software SHM interface, which means it does not
require GL acceleration to run. It should be compatible
with any compositor

Signed-off-by: Manuel Bachmann <tarnyko@tarnyko.net>
2014-10-13 12:23:23 +02:00
Marc-André Moreau
bbc9fc4393 freerdp: add more vendor options 2014-05-09 12:25:05 -04:00
Marc-André Moreau
ef88801839 cmake: add vendor-specific packaging extension point 2013-09-09 22:25:47 -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
Benoît LeBlanc
03a401b8e6 CMakelists:
disabled installation of headers and libraries for the wayk client.
2013-07-25 21:59:21 -04:00
Benoît LeBlanc
0244326517 DotNetClient cmake scripts (incomplete) 2013-06-17 21:22:11 -04:00
Marc-André Moreau
6095f1653a xfreerdp: external client integration 2013-04-04 18:27:47 -04:00
Bernhard Miklautz
295d799afe Merge remote-tracking branch 'upstream/master' into androidlib 2013-02-18 15:12:23 +01:00
Bernhard Miklautz
84b2966e67 android: adapted build for library project
- use manifestmerger.enabled to merge library manifest
- updated intent/activities to be implicit
2013-02-18 15:00:55 +01:00
Bernhard Miklautz
e5cf8ff7fb iOS: initial release of iFreeRDP
This is the initial release of iFreeRDP the FreeRDP iOS client.
Build instructions can be found in docs/README.ios.
2013-02-14 14:59:12 +01:00
Marc-André Moreau
e62860ab29 cmake: replace FindOptionalPackage macros with FindFeature macros 2012-11-02 19:27:01 -04:00
Marc-André Moreau
fc1b7896f6 cmake: build for iOS 2012-11-01 17:31:34 -04:00
Marc-André Moreau
024ade069e cmake: add build system integration of mobile clients 2012-10-22 12:31:30 -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
e764c81ad5 freerdp: fix building of libraries for Android 2012-10-13 20:31:01 -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
Anthony Tong
b5d5387e9d initial Mac build cleanup 2012-08-24 10:53:02 -05: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
0de7b3dfa4 Merge pull request #73 from awakecoding/master
Windows Porting
2011-08-31 08:49:19 -07:00
Marc-André Moreau
13bdbc0744 wfreerdp: initial commit 2011-08-31 05:59:03 -04:00
Nils Andresen
6063a352b7 move from find_package and find_opitonal_package (old version) to find_required_package, find_suggested_package and find_opitonal_package (new version) 2011-08-30 22:39:46 +02:00
Nils Andresen
3adf0875ca inserted find_optional_package to require or ignore opional packages 2011-08-30 20:38:05 +02:00
Marc-André Moreau
6215417b29 windows: export all exported api functions 2011-08-16 23:54:42 -04:00
Marc-André Moreau
114a0bf60b windows: update build scripts, fix most of utils 2011-08-16 14:41:12 -04:00
Marc-André Moreau
cdbc233e9f xfreerdp: get graphical updates and mouse + keyboard input working 2011-08-07 13:41:54 -04:00
Marc-André Moreau
ad0fedeb9f xfreerdp: initial commit 2011-08-07 09:52:40 -04:00
Marc-André Moreau
24ba845f04 dfreerdp: started integrating DirectFB client 2011-07-28 13:46:36 -04:00
Marc-André Moreau
1a2dc6f3d9 libfreerdp-core: refactoring of licensing code, refactoring of connection sequence 2011-07-17 23:16:31 -04:00