Commit Graph

300 Commits

Author SHA1 Message Date
Marc-André Moreau
ce71721698 channels: rename WITH_STATIC_PLUGINS to STATIC_CHANNELS 2012-10-08 22:53:05 -04:00
Marc-André Moreau
3d98273185 channels: fix export of symbols on Windows 2012-10-07 10:21:54 -04:00
Marc-André Moreau
e828feccb7 cmake: organize solution folders 2012-10-04 09:42:23 -04:00
Marc-André Moreau
59016f1c6f cmake: disable test build by default 2012-10-02 11:56:10 -04:00
Marc-André Moreau
2fde653d8a wfreerdp: merging with win32 integration branch 2012-10-02 11:05:21 -04:00
richterger
fbe8a2eaae Make the rdpdr disk plugin working on windows.
Currently not working are rename and setting of read only attribute and file times.

In addition it also adds the ability to staticly link plugins into the binary, so you get one big exe and need no dlls. I have only tested this on windows (only disk plugin so far).

I use the following options for cmake for static binary:

cmake -DWITH_MONOLITHIC_BUILD=ON -DMSVC_RUNTIME=static -DBUILD_SHARED_LIBS=OFF -DWITH_RDPDR=ON -DOPENSSL_INCLUDE_DIR=\opensslpath\inc32 -DOPENSSL_LIBRARIES="\opensslpath\out32.dbg\ssleay32.lib;d:\path\out32.dbg\libeay32.lib" -G "Visual Studio 9 2008" .

Important notice: Openssl need to be compiled with the same static runtime. Currently missing is a switch to link different openssl libraries for debug and release builds.
2012-10-02 08:58:54 +02:00
Marc-André Moreau
fcc9f91302 cmake: add support for solution groups 2012-09-30 22:58:59 -04:00
Marc-André Moreau
a18ebef019 cunit: migrate Sspi tests to CTest 2012-09-30 20:15:42 -04:00
Marc-André Moreau
6cb933aa5a channels: added build options to enabled/disable client and server channels 2012-09-22 20:16:38 -04:00
Marc-André Moreau
258f2c958a cmake: add warnings for MSVC static runtime option 2012-09-22 17:10:08 -04:00
Marc-André Moreau
538c89e311 cmake: add OpenSSL and MSVC runtime build options 2012-09-21 19:28:47 -04:00
Marc-André Moreau
24fc026783 libwinpr: add possibility of building WinPR as standalone 2012-09-20 22:11:56 -04:00
Marc-André Moreau
403d85f080 cmake: bump soname version to 1.1.0 2012-09-20 20:45:56 -04:00
Marc-Andre
dcceac59e7 Merge branch 'master' of github.com:FreeRDP/FreeRDP into cleanup 2012-09-17 15:27:49 -04:00
Bernhard Miklautz
497190ede7 build: add central file to check for cmake requirements
CMake allows to define variables (e.g. -D) even if they are not defined as options.
If a build feature requires a cmake version > 2.6 build might fail
therefore a check is required.

Check for WITH_MONOLITHIC_BUILD requirements added (prevents issue #724)
2012-09-14 11:09:51 +02:00
Marc-André Moreau
98ce91cfce cmake: add Intel IPP detection script 2012-09-11 14:31:10 -07:00
Marc-André Moreau
6ef90c4f09 include: cleanup api.h 2012-09-03 10:47:45 -04:00
Marc-André Moreau
53eb0e747c Merge branch 'cleanup' of github.com:FreeRDP/FreeRDP 2012-08-30 19:57:39 -04:00
Marc-André Moreau
a9bbc3d8c1 wfreerdp: fix build on Windows XP 2012-08-30 19:57:21 -04:00
Marc-André Moreau
0d5867b95c cmake: make MSVC static build optional 2012-08-29 16:20:46 -04:00
Mike Gilbert
714fae8f1c cmake: Allow CMAKE_INSTALL_LIBDIR to be an absolute path.
On Gentoo Linux, CMAKE_INSTALL_LIBDIR is passed as an absolute path,
which caused plugins to be installed in /usr/usr/lib/freerdp.

The new logic better emulates the behavior of the real GNUInstallDirs module.
2012-08-15 00:26:04 -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
Marc-André Moreau
d5d1eb7762 libfreerdp: add proper config.h inclusions 2012-08-14 17:09:01 -04:00
Marc-André Moreau
384af1d93b include: move winpr include directory inside winpr 2012-08-14 15:49:39 -04:00
Marc-André Moreau
19028a27b0 libfreerdp: move all libraries to libfreerdp directory, one step closer to monolithic build option 2012-08-13 23:19:51 -04:00
Vic Lee
1847d0acfd cmake: add missing include path for generated config.h 2012-08-13 17:16:03 +08:00
Marc-André Moreau
6720e664d7 winpr: get rid of config.h include in installable headers 2012-08-12 20:43:24 -04:00
Marc-André Moreau
0afd5b3ef3 include: remove inclusion of config.h in winpr.h 2012-08-12 18:47:19 -04:00
Marc-André Moreau
8400e3b0fb cmake: cleanup compilation options 2012-08-12 18:05:25 -04:00
Marc-André Moreau
7e88cc23ee include: add non-conflicting generation and installation of config.h file 2012-08-12 17:00:09 -04:00
Marc-André Moreau
13a22c26d4 third-party: create third-party integration scripts 2012-08-12 15:41:07 -04:00
Marc-André Moreau
92e46af233 libwinpr-sspi: add support for dynamic loading of SSPI module 2012-08-10 18:05:37 -04:00
Vic Lee
228baa5ac9 cmake: fix msvc win64 build. 2012-08-08 08:48:29 +08:00
Marc-André Moreau
baeafc5dfc channels: merging with master 2012-08-01 12:50:27 -04:00
Marc-André Moreau
4b720a6c0d client: merging Mac OS X and Windows client improvements from Jay Sorg 2012-07-31 16:27:42 -04:00
Dorian Johnson
347337d45d build: ignore unresolved symbols on OS X. Fixes #677 2012-07-31 15:22:10 -05:00
Marc-André Moreau
9a553701c5 wfreerdp: don't install keymaps on Windows 2012-07-31 16:14:17 -04:00
Marc-André Moreau
9b6231c088 Merge pull request #671 from bmiklautz/git_version_string
Add git version to --version when git is available
2012-07-30 16:19:48 -07:00
Marc-André Moreau
52c697a7e2 channels: start fixing compilation on Windows 2012-07-28 22:24:14 -04:00
Bernhard Miklautz
3d59c44f7a Git build versioning added.
Now --version prints something like "This is FreeRDP version 1.0.1 (git
1.0.1-710-g90ec2)". Having a git commit id helps to identify builds and eases
debuggin.

The downside is that GetGitRevisionDescription retriggers a cmake
re-configuration after each git commit. But thats the only way to get correct
version informations without having git hooks or similar.

GetGitRevisionDescription is based on Ryan Pavlik cmake Modules.
2012-07-27 03:11:40 +02:00
xangis
c74cae4209 Add building channels for Windows and stubs for clipboard reader. 2012-07-20 14:05:06 -07:00
Dorian Johnson
e63de28be1 Build: fix #647: printer forward causes crash on Mac OS X 2012-07-12 11:39:38 -05:00
Ying-Chun Liu (PaulLiu)
1a11fcd5fb Fix default path of extensions so it is easier for packaging.
Due to Multi-arch requirement, we need to be able to assign the
extensions path by prefix. This patch adds the support to change
the default extensions path base on prefix.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@canonical.com>
2012-07-03 15:51:00 +08:00
Alam Arias
c147ee2ed1 test for XRandR for Gstreamer support 2012-06-14 12:46:27 -04:00
Irwan Halim
c9c22fa331 Add GStreamer plugin for Multi-media redirection 2012-06-13 14:45:58 -05:00
Marc-André Moreau
d3dc1c780d wfreerdp: fix compilation 2012-05-21 16:01:24 -04:00
Marc-André Moreau
3cfc3d6d80 winpr: move to one folder 2012-05-20 20:54:22 -04:00
Marc-André Moreau
813cf27ccd libwinpr-crt: initial commit 2012-05-05 22:09:08 -04:00
Marc-André Moreau
31f2fd3a8a libwinpr-sspi: rename from libfreerdp-sspi 2012-05-04 19:48:53 -04:00
Marc-André Moreau
e1e3f12114 winpr: move wtypes.h and windows.h 2012-05-04 19:36:35 -04:00
Marc-André Moreau
be1e7f8291 libwinpr-rpc: initial commit 2012-05-04 18:32:34 -04:00
Laxmikant Rashinkar
1cbf3dab21 Initial push for the native Mac FreeRDP client 2012-05-02 20:15:27 -07:00
Marc-André Moreau
6719aa9445 cmake: fix linker flags on Mac OS X 2012-03-22 20:37:05 -04:00
Mads Kiilerich
7d6026b0f6 cmake: remove unused configuration options 2012-03-22 13:33:54 +01:00
Mads Kiilerich
2d68abd97d cmake: don't try to detect OpenSSL if OPENSSL_INCLUDE_DIR and OPENSSL_LIBRARIES are defined
--HG--
extra : rebase_source : fee9366943406e93964821a1991f1ac0c03983e5
2012-03-21 23:15:46 +01:00
Mads Kiilerich
147f7a2adb cmake: default to build shared libs - don't enforce it
--HG--
extra : rebase_source : 7b731d1a90169a22dda6bb9506ce41a01e98f29a
2012-03-21 20:46:37 +01:00
Marc-André Moreau
c208c5a899 libfreerdp-sspi: rename from libfreerdp-auth 2012-03-05 17:11:15 -05:00
Marc-André Moreau
4af3ecd4cd libfreerdp-locale: refactoring step 1 2012-02-18 22:04:28 -05:00
Marc-André Moreau
61da01973d libfreerdp-locale: rename from libfreerdp-kbd, will contain all localization code 2012-02-17 17:43:00 -05:00
Marc-André Moreau
8cab067498 libfreerdp-auth: move authentication code out of libfreerdp-core 2012-02-17 17:12:21 -05:00
Marc-André Moreau
b8882a8ad2 libfreerdp-crypto: taking crypto code out of libfreerdp-core 2012-02-17 00:58:30 -05:00
Marc-André Moreau
5d7e55fe9d libfreerdp-core: fix timezone redirection 2012-02-15 16:28:47 -05:00
Marc-André Moreau
8e627212a0 changelog: update for 1.0.1 2012-02-09 21:01:42 -05:00
Bernhard Miklautz
a30a054df4 build: make ffmpeg optional on os x
FFMPEG isn't installed per default on os x so it should be optional
instead of suggested.
2012-01-27 02:32:06 +01: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
Bernhard Miklautz
ac5dcbf565 Fixed optimization flags for release builds.
cmake uses CMAKE_C_FLAGS_RELEASE in addition to CMAKE_C_FLAGS for
make based build systems. Without the fix the optimization level
argument is set twice (-O2 -O3) and -O3 was used instead of -O2.
2012-01-23 14:40:05 +01:00
Mike Gilbert
ff10a65c8e Change ENABLE_{CLIENT,SERVER} to WITH_{CLIENT,SERVER}. 2012-01-22 12:26:30 -05:00
Mike Gilbert
3c61b381c6 cmake: Add options to enable/disable client/server targets. 2012-01-22 12:14:06 -05:00
Marc-André Moreau
3f91e24a4d libfreerdp-core: added freerdp_get_version() 2012-01-14 13:33:04 -05:00
Mike Gilbert
3b479ee810 cmake: Add a wrapper module for GNUInstallDirs. 2011-12-06 00:12:10 -05:00
Mike Gilbert
7cf1ea6a29 cmake: Use new GNUInstallDirs module for BINDIR and LIBDIR.
Should automatically correct libdir handling for 64 bit linux distros.

See also:
http://public.kitware.com/Bug/view.php?id=3976
http://public.kitware.com/Bug/view.php?id=11964
2011-12-05 23:34:29 -05:00
Marc-André Moreau
c8c3fea163 cmake: fix for Mac OS X 10.4 2011-11-30 11:16:10 -05:00
Marc-André Moreau
a63a196f53 types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
Marc-André Moreau
9479de0986 cmake: disable ALSA on Mac OS X 2011-11-15 23:21:53 -05:00
Rex Tsai
8d000aa754 pump version to 1.0.0.
Signed-off-by: Rex Tsai <rex.tsai@canonical.com>
2011-11-11 04:46:46 +08:00
Anthony Tong
ce59c2226f cmake/sse2: initial sse2 detect 2011-10-25 00:32:06 -05:00
Anthony Tong
e2f1bc2270 update build for rpm spec 2011-10-19 07:21:14 -05:00
Marc-André Moreau
0549380c28 libfreerdp-channels: rename from libfreerdp-chanman 2011-10-16 14:57:15 -04:00
Anthony Tong
416e506c61 bring back freerdp.pc 2011-10-15 18:25:34 -05:00
Anthony Tong
1277bc7f8a initial scard support 2011-10-15 10:30:10 -05:00
Marc-André Moreau
6cf2bc1eed cmake: detect and set -Wno-unused-result 2011-10-04 18:47:21 -04:00
Marc-André Moreau
0401f7c17e libfreerdp-codec: merge with libfreerdp-nsc 2011-10-02 20:52:17 -04:00
Marc-André Moreau
3f8ad5e8f9 libfreerdp-nsc: merging 2011-10-02 20:31:52 -04:00
Marc-André Moreau
3297db7062 libfreerdp-codec: merge with libfreerdp-rfx 2011-10-02 20:28:20 -04:00
qubit
16eae52b1e nscodec capability set 2011-10-03 00:36:41 +05:30
Marc-André Moreau
5de4cdbedc wfreerdp: fix mutex handling 2011-09-25 03:12:29 -04:00
Marc-André Moreau
c2ccba532f cmake: fix build options for wfreerdp 2011-09-23 14:38:16 -04:00
Marc-André Moreau
f643fa5435 Merge pull request #112 from ydal/patch-4
CMakeList.txt: Some compiler doesn't support "-Wno-unused-but-set-variabl
2011-09-20 08:40:18 -07:00
Marc-André Moreau
44664c0a48 Merge pull request #114 from llyzs/tsmf
Migrate tsmf plugin
2011-09-20 08:33:38 -07:00
Vic Lee
ebaf94d6d6 tsmf: add ffmpeg, alsa and pulse sub-plugins. 2011-09-20 14:27:10 +08:00
ydal
c8ecd99ada CMakeList.txt: Some compiler doesn't support "-Wno-unused-but-set-variable" parameter. 2011-09-20 12:02:07 +09:00
Marc-André Moreau
bdbe1437eb cmake: fix small bug introduced over recent merge 2011-09-19 01:28:48 -04:00
Marc-André Moreau
405026575b libfreerdp-core: merging jsorg71's work on old encryption support 2011-09-14 22:09:33 -04:00
Marc-André Moreau
86d7c1946f libfreerdp-common: initial commit 2011-09-13 15:39:40 -04:00
Jay Sorg
2ac4a5fa96 work on rdp encryption 2011-09-12 23:40:27 -07:00
Mike Gilbert
a9fe22921a CMakeLists.txt: Call enable_testing before processing cunit subdirectory
Otherwise, add_test does nothing.
2011-09-04 21:44:49 -04:00
Rex Tsai
ecbe24ca9a cmake: make linking type as option. 2011-09-01 22:18:58 +08:00
Rex Tsai
093ed8383a cmake: Install keymap data files. 2011-09-01 22:10:11 +08: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
e49a690d46 windows: fix compilation and linking of all libraries 2011-08-31 04:35:50 -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
Mike Gilbert
b627dbb35c Allow linux distros to override LIBDIR; fix xfreerdp install 2011-08-25 00:00:24 -04:00
Mike Gilbert
832c34842c cmake: Use STREQUAL for string comparison and drop -O0 2011-08-24 22:53:06 -04:00
Marc-André Moreau
e4c7f28acf Merge pull request #51 from llyzs/server
Initial server implementation (still in progress)
2011-08-19 11:04:01 -07:00
Nils Andresen
17411304b8 cmake: added find_optional_package module to force or ignore optional dependencies 2011-08-18 20:36:17 +02:00
Vic Lee
5fc87c25cf server: create initial server API. 2011-08-18 16:06:32 +08:00
Marc-André Moreau
feb1470ba6 Merge pull request #48 from llyzs/printer
Migrate Print Virtual Channel
2011-08-17 08:38:24 -07:00
Vic Lee
fad4ea4343 rdpdr/printer: migrate/redesign printer virtual channel plugin. 2011-08-17 21:57:09 +08:00
Marc-André Moreau
6215417b29 windows: export all exported api functions 2011-08-16 23:54:42 -04:00
Marc-André Moreau
c1eddf31c3 windows: fix warnings 2011-08-16 21:08:14 -04:00
Marc-André Moreau
d128254159 windows: fix most compilation errors, linker errors and warnings left 2011-08-16 20:49:46 -04:00
Marc-André Moreau
0eb91a2ce9 libfreerdp-core: fixed multiple windows porting issues 2011-08-16 17:40:29 -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
75423d28ae Merge branch 'master' of github.com:FreeRDP/FreeRDP-1.0 2011-08-15 23:37:52 -04:00
Marc-André Moreau
3316fde2e8 libfreerdp-rail: initial commit 2011-08-15 23:37:43 -04:00
Vic Lee
2e91abed4c cmake: fix WIN32 variable. 2011-08-16 10:34:15 +08:00
Marc-André Moreau
0efc0c5a44 windows: start fixing windows compilation 2011-08-15 17:05:48 -04:00
Vic Lee
15e553f8f1 rdpsnd: add PulseAudio sub-plugin. 2011-08-15 18:21:58 +08:00
Vic Lee
a122006b0e rdpsnd: add ALSA sub-plugin. 2011-08-15 16:28:52 +08:00
Vic Lee
e21a2688b5 libfreerdp-rfx: migrate SSE2 optimization. 2011-08-13 16:26:57 +08:00
Vic Lee
10eba1f0c5 cmake: add compiler warning flags. 2011-08-11 15:03:08 +08:00
Vic Lee
e414a7d9cc libfreerdp-rfx: initial migration. 2011-08-10 17:09:11 +08:00
Marc-André Moreau
1dcc1c2be2 libfreerdp-cache: started offscreen bitmap cache 2011-08-04 16:22:15 -04:00
Brad Hards
05e6a68927 buildsystem: check if we have zlib, openssl and pthread before using 2011-07-31 11:22:09 +10:00
Marc-André Moreau
0f9e9a0d15 libfreerdp-chanman: align with new interface 2011-07-28 01:04:01 -04:00
Marc-André Moreau
72fc75b5a6 libfreerdp-core: exporting new interface 2011-07-28 00:38:25 -04:00
Brad Hards
63f6026ce1 Add "make test" support to build system. 2011-07-26 11:50:45 +10:00
Jay Sorg
ef9788a0a1 drop cmake min version to 2.6 for now 2011-07-25 13:49:12 -07:00
Marc-André Moreau
f409e60062 libfreerdp-asn1: replacement by libfreerdp-core's BER encoder/decoder 2011-07-18 18:43:23 -04:00
Marc-André Moreau
1a2dc6f3d9 libfreerdp-core: refactoring of licensing code, refactoring of connection sequence 2011-07-17 23:16:31 -04:00
Vic Lee
f5b702abb8 cmake: fix config.h include path. Fix issue #16. 2011-07-13 23:05:25 +08:00
Vic Lee
d0a5273abc cunit/chanman: perform tests on channel data. 2011-07-10 22:24:47 +08:00
Vic Lee
a7bb01df38 Add libfreerdp-chanman. 2011-07-08 21:51:20 +08:00
Vic Lee
852c751fd4 libfreerdp-utils: add wait_obj module. 2011-07-08 16:07:25 +08:00
Vic Lee
3a9c774979 libfreerdp-utils: add load_plugin module. 2011-07-08 14:34:50 +08:00
Marc-André Moreau
a35f1e81cb cmake: fix Mac OS X compilation 2011-07-05 20:44:26 -04:00
Vic Lee
7ae17192bb cmake: add ConfigOptions.cmake 2011-07-04 17:01:06 +08:00
Vic Lee
d5ad1af3f5 cmake: remove unused include dirs and move it to root CMakeLists.txt 2011-07-04 15:41:53 +08:00
Vic Lee
f8223ec5a2 cmake: add include file and endian checks. 2011-07-04 15:32:34 +08:00
Marc-André Moreau
ccaa0d33ed libfreerdp-core: protocol security negotiation partially working 2011-07-03 12:42:35 -04:00
Otavio Salvador
85d164c0c0 cmake: add auto versioning based on GIT
A new AutoVersioning module has been written in a portable way to
allow dynamic versioning on Windows and Unix based systems.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-07-02 17:09:01 -03:00
Otavio Salvador
04b679b090 cmake: add cunit look up
A new CMake utility (FindCUnit.cmake) has been written to easy finding
of CUnit headers and libraries in a portable way.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2011-07-02 17:09:01 -03:00
Marc-André Moreau
071516187e libfreerdp-core: TPKT encoding/decoding 2011-07-02 14:40:03 -04:00
Marc-André Moreau
fd2d804578 cmake: updated copyright notices 2011-07-02 13:58:55 -04:00
Marc-André Moreau
cfbb6c286c libfreerdp-core: added cmake script 2011-06-30 22:20:39 -04:00
Marc-André Moreau
7de0d21feb cunit: fix compilation of unit tests 2011-06-30 22:12:54 -04:00
Marc-André Moreau
32cfd0f325 libfreerdp-gdi: fix compilation 2011-06-30 21:23:36 -04:00
Marc-André Moreau
e038b068b8 cmake: initial commit 2011-06-30 20:31:07 -04:00