Commit Graph

306 Commits

Author SHA1 Message Date
Vic Lee
c5170a00e0 channels/rdpsnd: support wfreerdp using Windows Multimedia API. 2012-12-27 19:20:39 +08:00
Bernhard Miklautz
e004f45968 build: check libavcodec api version
If pkg-config is available libavcodec api version is checked and
cmake fails if the required version isn't available.

In case pkg-config isn't available a notification message with the
required version is printed.

This fixes/prevents #740.
2012-12-16 22:38:09 -05:00
Bernhard Miklautz
7d6f012097 cmake: fixed compatibility with version 2.8.0
* enable_cmake_compat to enable compatibility for specific cmake versions
* added required files for 2.8.2 and 2.8.6 (taken from a recent cmake version)
2012-11-23 14:12:52 +00: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
b8c33c55da cmake: added iOS toolchain 2012-11-01 13:13:21 -04:00
Marc-André Moreau
187147d399 libfreerdp-core: cleanup of TSG definitions 2012-10-29 15:02:35 -04:00
Marc-André Moreau
4d171408e9 freerdp: merging with master 2012-10-29 09:50:44 -04:00
Bernhard Miklautz
279ae62c5a cunit: deprecate cunit
cunit is not used anymore. Testing is now done with ctest.
2012-10-25 13:43:33 +02:00
Bernhard Miklautz
d6569d945b cmake: make sure build works with cmake < 2.8.3
cmake/compat_2.8.3 contains files required for cmake versions < 2.8.3
and CheckCmakeCompat includes them if necessary.

CMakeParseArguments.cmake and FindPackageHandleStandardArgs.cmake are
taken from the modules shipped with cmake.
2012-10-25 11:22:53 +02:00
Marc-André Moreau
158030c57a libfreerdp-codec: add support for android cpu-features module 2012-10-22 19:01:19 -04:00
Marc-André Moreau
17a5835c08 cmake: added Android toolchain 2012-10-20 00:14:41 -04:00
Marc-André Moreau
81e485736f channels: refactoring of channels cmake scripts with macros 2012-10-17 02:14:19 -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
639bb0d79d cmake: started simplifying monolithic build option 2012-10-13 15:20:39 -04:00
Marc-André Moreau
2ee9f23a8e cmake: revert back to standard CTest BUILD_TESTING option 2012-10-13 09:50:02 -04:00
Marc-André Moreau
e2d3b4454c cmake: add automatic detection of architecture to enable SSE2 by default 2012-10-12 17:55:12 -04:00
Marc-André Moreau
c26a623ed1 cmake: rename BUILD_TESTING to TEST_BUILD 2012-10-12 16:04:46 -04:00
Marc-André Moreau
1931c0d241 cmake: make channels static by default 2012-10-10 17:13:42 -04:00
Marc-André Moreau
40eea7c76b cmake: rename WITH_MONOLITHIC_BUILD to MONOLITHIC_BUILD 2012-10-08 22:55:06 -04:00
Marc-André Moreau
56ea938fbf libwinpr: wrote more tests 2012-10-04 23:19:05 -04:00
Alam Arias
28629aaed0 Revert "build: check libavcodec api version"
This reverts commit 06720e2a8d.
2012-10-04 15:00:12 -04:00
Marc-André Moreau
59016f1c6f cmake: disable test build by default 2012-10-02 11:56:10 -04:00
Marc-André Moreau
7de10e2092 cmake: add cunit detection support on Windows 2012-09-30 01:09:45 -04:00
Marc-André Moreau
4937d74c45 Merge pull request #741 from bmiklautz/issue_740
build: check libavcodec api version
2012-09-26 12:32:39 -07:00
Bernhard Miklautz
06720e2a8d build: check libavcodec api version
If pkg-config is available libavcodec api version is checked and
cmake fails if the required version isn't available.

In case pkg-config isn't available a notification message with the
required version is printed.

This fixes/prevents #740.
2012-09-26 15:45:30 +02: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
1a2e71067a wfreerdp-server: fix monolithic build 2012-09-19 17:51:06 -04:00
C-o-r-E
39d6fd3bd0 wfreerdp-server: added cmake config WITH_WIN8 2012-09-19 12:43:24 -04:00
Marc-Andre
dcceac59e7 Merge branch 'master' of github.com:FreeRDP/FreeRDP into cleanup 2012-09-17 15:27:49 -04:00
Marc-André Moreau
efe82e6ede wfreerdp-server: build CLI interface separate from server library 2012-09-15 22:19:26 -04:00
Bernhard Miklautz
403497ee5a build: warn that GIT_REVISION is set to n/a for cmake < 2.8.2 2012-09-14 12:34:51 +02: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
cee2fcc6f0 libfreerdp: fix debug output 2012-09-08 15:27:00 -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
bccc9cb8f5 cmake: update cmake client scripts for monolithic build 2012-08-14 00:11:04 -04:00
Marc-André Moreau
6a49d43b4b cmake: started monolithic build option 2012-08-13 12:32:41 -04: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
8400e3b0fb cmake: cleanup compilation options 2012-08-12 18:05:25 -04: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
Bernhard Miklautz
e3f03f57d8 Error fixed in AutoVersioning when no .git is found 2012-07-27 03:32:42 +02: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
Jay Sorg
c3e9966429 added cmake option to compile jpeg, off by default 2012-07-24 18:26:24 -07: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
David Sundstrom
c6ec5b8d4b Fix path for Xv.h in cmake. 2012-05-25 17:56:04 -05:00
Marc-André Moreau
4419515a50 Merge branch 'master' of github.com:FreeRDP/FreeRDP into tsg 2012-05-05 18:42:51 -04:00
Scott Tsai
36a37cc752 Use PULSEAUDIO_INCLUDE_DIR instead of PULSE_INCLUDE_DIRS 2012-04-27 01:14:21 +08:00
Marc-André Moreau
1743a9464f libfreerdp-core: add TSG to transport layer 2012-03-26 12:20:38 -04:00
Mads Kiilerich
3a0dd79f46 cmake: add missing debug options WITH_DEBUG_NTLM WITH_DEBUG_RDP 2012-03-22 13:33:51 +01:00
Mads Kiilerich
08ddf87a96 cmake: cleanup of debug options, sort the list 2012-03-22 13:33:01 +01:00
Mike Gilbert
13c5e150fd cmake: Fix ffmpeg detection code
ffmpeg headers are supposed to be referenced as libavcodec/avcodec.h.
Therefore, we actually need to find the path to the libavcodec directory, not
avcodec.h.
2012-02-29 00:30:03 -05:00
Marc-André Moreau
aaaafcc4b7 libfreerdp-utils: improve freerdp_load_plugin 2012-02-09 17:48:30 -05:00
Bernhard Miklautz
7af5599113 build: raise an error if pkg is not found
Changed FFmpeg, PCSC and PulseAudio cmake find to raise an error if
an required package was not found.
2012-01-27 02:13:08 +01:00
Bernhard Miklautz
e9f1de751b build: Added option WITH_NEON
Enables neon optimized rfx decoder
2012-01-24 09:04:02 +01:00
Bernhard Miklautz
81004b44c5 build: Honor REQUIRE if set in find_package
FIND_PACKAGE_HANDLE_STANDARD_ARGS handles REQUIRE only correct if
called with the same package name as find_package was called with.

The returned xxxx_FOUND is still uppercase.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
cc24a7ad6a Changed cmake find prefix for pulseaudio.
Now option (WITH_PULSEAUDIO) and package prefix (PULSEAUDIO_FOUND) match.
2012-01-23 14:40:05 +01:00
Bernhard Miklautz
1de5fbfbbf Changed include path for X11 and extensions.
X11 and X11/extensions should not be part of X11 include path
if X11/xxx.h or X11/extensions/xxx.h is used in source files.
2012-01-17 18:34:04 +01:00
Marc-André Moreau
c3186a9281 xfreerdp-server: start work on XShm 2012-01-09 22:08:25 -05:00
Marc-André Moreau
a3459eeb5b xfreerdp-server: improved RemoteFX encoding 2012-01-07 21:36:12 -05:00
Marc-André Moreau
9ef0995fda xfreerdp-server: add missing FindXfixes.cmake 2012-01-02 23:13:54 -05:00
Not Nyguen Doze
a70ca93c43 Add option for WITH_DEBUG_WND for window order updating, already existing in code
Correct sign on variables in xf_rail_paint
2011-12-06 15:43:38 -08:00
Mike Gilbert
46fd30ac4b cmake: Default LIBDIR to lib${LIB_SUFFIX}. 2011-12-06 00:40:25 -05:00
Mike Gilbert
3b479ee810 cmake: Add a wrapper module for GNUInstallDirs. 2011-12-06 00:12:10 -05:00
Marc-André Moreau
a3dc63d738 xfreerdp: added more cliprdr debug output, identified failure point 2011-11-23 12:36:36 -05:00
Marc-André Moreau
65fe2f367f xfreerdp: added WITH_DEBUG_X11_CLIPRDR option 2011-11-23 10:58:13 -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
Otavio Salvador
162c4c9d8e Merge pull request #204 from mfleisz/master
cmake: added libavutil to required libraries for ffmpeg
2011-11-15 06:34:26 -08:00
David Sundstrom
dfe9f5dcf0 add options for DEBUG_X11_LOCAL_MOVESIZE that were present in code 2011-11-14 16:42:14 -06:00
Martin Fleisz
e7e9b1a7a2 cmake: added libavutil to required libraries for ffmpeg (fixes unresolved symbol _av_free error) 2011-11-14 07:00:09 -08:00
Marc-André Moreau
b1a071d551 xfreerdp-server: add missing FindXdamage.cmake 2011-11-08 17:52:09 -05:00
Alexis Moinet
a3bbe473d2 add cmake option for redirection debug and fix a segmentation fault in redirection 2011-10-26 10:47:32 +02:00
Anthony Tong
ce59c2226f cmake/sse2: initial sse2 detect 2011-10-25 00:32:06 -05:00
Anthony Tong
1277bc7f8a initial scard support 2011-10-15 10:30:10 -05:00
Marc-André Moreau
6f3696f22b xfreerdp: initial cursor support 2011-09-29 00:33:16 -04:00
Vic Lee
74ba2b3515 tsmf: add XVideo support in xfreerdp. 2011-09-20 16:37:00 +08:00
Vic Lee
ebaf94d6d6 tsmf: add ffmpeg, alsa and pulse sub-plugins. 2011-09-20 14:27:10 +08:00
roman-b
69b4b0318c xfreerdp: fix usage of new DEBUG_ macroses for RAIL and X11 Client. 2011-09-03 19:50:26 +03:00
Vic Lee
7341991ad4 cmake: fix find_suggested_package option. 2011-09-02 23:27:44 +08:00
Otavio Salvador
d5f029d26b Merge pull request #72 from nils-a/ebuild-prep
switched to find_optional_package to require or ignore opional packages
2011-08-31 07:42:28 -07: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
Marc-André Moreau
219979c064 Merge pull request #71 from nils-a/manpage
client/X11: Do not break compilation, if xmlto is not available
2011-08-30 11:28:31 -07:00
Nils Andresen
bc28606f01 client/X11: Do not break compilation, if xmlto is not available 2011-08-30 20:24:28 +02:00
Marc-André Moreau
a9a06abcc3 xfreerdp: stabilizing RemoteApp, fix window styles 2011-08-30 14:21:16 -04:00
Nils Andresen
18614a53d0 client/X11/xfreerdp: rudimentary version of a man-page. 2011-08-29 21:59:29 +02:00
Marc-André Moreau
cd6eb6a266 libfreerdp-core: add support for pointer updates 2011-08-24 02:38:39 -04:00
Marc-André Moreau
9a3477f7ec xfreerdp: added proper cmake detection of Xext 2011-08-23 22:58:36 -04:00
Marc-André Moreau
ec77c8ecbf xfreerdp: added support for multiple monitors 2011-08-19 23:15:49 -04: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
15e553f8f1 rdpsnd: add PulseAudio sub-plugin. 2011-08-15 18:21:58 +08:00
Vic Lee
e21a2688b5 libfreerdp-rfx: migrate SSE2 optimization. 2011-08-13 16:26:57 +08:00
Vic Lee
e414a7d9cc libfreerdp-rfx: initial migration. 2011-08-10 17:09:11 +08:00
Marc-André Moreau
cdbc233e9f xfreerdp: get graphical updates and mouse + keyboard input working 2011-08-07 13:41:54 -04:00
Brad Hards
3f37889482 libfreerdp-core: fix security selection
Also cleans up some debug stuff.
2011-07-31 13:51:26 +10:00
Marc-André Moreau
24ba845f04 dfreerdp: started integrating DirectFB client 2011-07-28 13:46:36 -04:00
Vic Lee
3533609da9 drdynvc: start working on main drdynvc module. 2011-07-19 14:07:15 +08:00
Vic Lee
4560e088bd libfreerdp-utils: add svc_plugin. 2011-07-09 23:29:04 +08:00
Vic Lee
852c751fd4 libfreerdp-utils: add wait_obj module. 2011-07-08 16:07:25 +08:00
Vic Lee
7ae17192bb cmake: add ConfigOptions.cmake 2011-07-04 17:01:06 +08: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