Commit Graph

273 Commits

Author SHA1 Message Date
Bernhard Miklautz
257a1cb8cc FindOpenSLES: removed debug message 2013-10-02 10:23:06 +02:00
Bernhard Miklautz
4c3ceb6093 android build: set default ndk api level to 9
API level 9 is required in order build the android client with audio
support.
2013-10-01 23:30:58 +02:00
Bernhard Miklautz
6d060d2fcc android build: don't set WITH_OPENSLES in options
WITH_OPENSLES is automatically set by find_feature
2013-10-01 23:22:45 +02:00
Bernhard Miklautz
a5dca8b446 opensles detection: fail required but not found 2013-10-01 23:21:35 +02:00
Bernhard Miklautz
d7a9add3b4 Merge pull request #1514 from akallabeth/android_sound
Android sound support
2013-10-01 02:20:44 -07:00
Bernhard Miklautz
2cb6f5407a Merge pull request #1491 from akallabeth/android_profiler
Android profiler
2013-10-01 00:53:35 -07:00
Armin Novak
0558063a43 Increased mimimum android version to API level 9. Required for OpenSLES. 2013-09-27 11:44:24 +02:00
Armin Novak
cf7d23f7f3 Added CMake configuration options. 2013-09-23 12:38:44 +02:00
Armin Novak
9203473d78 Added OpenSLES detection script. 2013-09-23 12:36:51 +02:00
Armin Novak
14ea8f8b89 Merge branch 'android_build_enhanced' into android_sound 2013-09-19 12:01:33 +02:00
Bernhard Miklautz
c60ea8adb0 Merge pull request #1486 from akallabeth/android_build_enhanced
Android build enhanced
2013-09-19 01:56:53 -07:00
Armin Novak
9846c4496e Renamed android profiler flag to WITH_GPROF 2013-09-18 13:12:52 +02:00
Armin Novak
135ba71c46 Fixed typo in config options for android. 2013-09-17 16:09:45 +02:00
Armin Novak
31bbd368fe Added configuration options for android SDK
Now activating JAVA_DEBUG only for CMake Debug configuration by default.
2013-09-17 15:57:48 +02:00
Marc-André Moreau
2c8bef26de cmake: add target helper functions 2013-09-05 15:20:51 -04:00
Marc-André Moreau
7edfe66274 freerdp: various missing link dependencies and symbol exports 2013-09-03 21:48:26 -04:00
Marc-André Moreau
b0b71ae9b1 Merge pull request #1394 from akallabeth/manpage_merged
Manpage merged
2013-08-14 06:56:27 -07:00
Bernhard Miklautz
553f7c24f7 android: updated toolchain file
* support for ndk version r8d+
* improved x86_64 host machine support
* support non-release NDK layouts
2013-08-08 16:23:11 +02:00
Armin Novak
9b95c55574 Replaced xmlto with xsltproc to word around a bug preventing manpages
to be build, when there are spaces in the build path.
2013-08-06 15:02:36 +02:00
Armin Novak
38be366a67 Fixed generation of configure header, now replacing date fields
with current date.
Added CMake script to generate a variable containing the current
date.
Removed last argument (the terminating NULL element) from output.
2013-08-06 11:54:37 +02:00
Marc-André Moreau
7b80b19306 cmake: add FindPixman.cmake 2013-08-05 20:50:23 -04:00
Marc-André Moreau
ecc543d87d Merge branch 'master' of github.com:FreeRDP/FreeRDP into multitouch 2013-08-03 16:22:09 -04:00
Marc-André Moreau
36f361b2d5 Merge pull request #1389 from akallabeth/urbdrc_cmake_fixes
Urbdrc cmake fixes
2013-08-03 13:18:04 -07:00
Armin Novak
71ec4e5a32 Added libusb detection CMake script. 2013-08-02 15:49:53 +02:00
Armin Novak
3e56dd108a Added proper CMake checks for libraries linked with urbdrc 2013-08-02 15:49:53 +02:00
Marc-André Moreau
1307026a94 freerdp: fix build warnings with MSVC 2013-07-26 15:21:19 -04:00
C-o-r-E
340c3a4246 merged completely (painful) from awakecoding's tree 2013-06-25 20:41:32 -04:00
Marc-André Moreau
31f68d0779 winpr: fix type conflict with X11 2013-06-24 23:58:31 -04:00
Marc-André Moreau
89016d0403 cmake: fix Xrender detection 2013-06-13 10:34:44 -04:00
C-o-r-E
e72b79940c merged upstream 2013-06-05 14:59:24 -04:00
Marc-André Moreau
69706b507e cmake: fix 32-bit clang with SSE 2013-05-31 13:51:50 -04:00
Marc-André Moreau
fc75276128 cmake: add FindNPP.cmake 2013-05-28 01:14:20 -04:00
Marc-André Moreau
9d3ec97f9e freerdp: fix monolithic build with Xcode 2013-05-24 18:38:02 -04:00
C-o-r-E
4c4622aac7 xfreerdp-client: fixed build on OS X 2013-05-21 20:16:14 -04:00
Marc-André Moreau
032fd11928 cmake: check for XITouchClass 2013-05-15 12:40:56 -04:00
Marc-André Moreau
69ece74236 xfreerdp: fix Xrender detection 2013-05-09 15:30:21 -04:00
C-o-r-E
4cdc276e25 merged 2013-05-05 17:57:31 -04:00
Marc-André Moreau
351acdd407 cmake: added PAM detection script 2013-05-03 23:29:04 -04:00
C-o-r-E
9ac3f599d6 xfreerdp-client: initial xrender scaling test 2013-05-02 20:31:22 -04:00
C-o-r-E
327eddbd58 xfreerdp-client: hack cmake for ubuntu imagemagick 2013-05-01 12:39:26 -04:00
Marc-André Moreau
d1e4798372 cmake: fix default server interface option 2013-04-29 19:53:56 -04:00
C-o-r-e
4a9ea669dc xfreerdp-client: Xi build changes 2013-04-25 18:30:39 -04:00
Marc-André Moreau
fc3f75d867 xfreerdp: start experimenting with multitouch 2013-04-25 17:00:43 -04:00
Marc-André Moreau
6322cb9b21 cmake: fix android toolchain with 64-bit ndk 2013-04-09 16:25:15 -04:00
Bernhard Miklautz
62712af114 build: gstreamer detection
fixed build problem on mac
2013-04-03 01:12:39 +02:00
Marc-André Moreau
3835fa8a35 Merge pull request #1152 from mfleisz/master
iOS: Got rid of .xcodeproj file and various compile fixes
2013-04-02 06:07:53 -07:00
Martin Fleisz
5c0440e5fc iOS: removed deprecated cmake options, updated readme 2013-04-02 11:01:59 +02:00
Bernhard Miklautz
81a97144f1 channel/tsmf: fix for gstreamer detection
Print warning if gstreamer is there but xrandr is missing.
2013-03-29 16:17:03 +01:00
Martin Fleisz
f5b4dd8ee9 iOS: iOS doesn't work with monolithic build any more 2013-03-29 14:49:41 +01:00
Marc-André Moreau
690b5147db cmake: simplify android build 2013-03-23 18:13:10 -04:00
Christian Hofstaedtler
3c7a486898 Mac: detect x64 macs
This is needed so WITH_SSE2 is turned on automatically.
2013-03-11 22:05:49 +01:00
Marc-André Moreau
89cf0a3dd0 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-07 13:56:51 -05:00
Bernhard Miklautz
95a049d96e set CMAKE_COMPILER_ID to GNU in iOS toolchain
The current ios toolchain is GNU based but the iOSToolchain.cmake
set the CMAKE_COMPILER_ID to gcc which isn't known by cmake.
2013-03-05 15:07:27 +01:00
Marc-André Moreau
cd7edbbc81 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-03-04 16:07:29 -05:00
Bernhard Miklautz
0d3febe1fc iOS: set CMAKE_SYSTEM_PROCESSOR in toolchain file
This is required that the right architecture is chosen during the cmake run.
Otherwise it is not possible to compile WITH_NEON.
2013-03-01 10:14:33 +01:00
Bernhard Miklautz
f3e1beca58 IPP: disable on arm and apple 2013-03-01 09:02:14 +01:00
Marc-André Moreau
4fd085baaf cmake: remove unused code 2013-02-28 14:54:08 -05:00
Marc-André Moreau
ddf4c6e0ff Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-27 09:38:39 -05:00
Bernhard Miklautz
152071d38b build/arm: added build option to specify fp ABI
cmake option ARM_FP_ABI allows to specify the floating point ABI to use.
If ARM_FP_ABI isn't set explicitly softfp is used.

fixes #980
2013-02-20 01:08:27 +01:00
Marc-André Moreau
470cdb2570 xfreerdp: add async-channels command-line argument 2013-02-19 12:29:15 -05:00
Marc-André Moreau
289aad8d45 Merge branch 'master' of github.com:FreeRDP/FreeRDP 2013-02-15 11:16:36 -05: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
d09d368e3f libfreerdp-core: add capabilities debug output 2013-02-12 16:25:16 -05:00
Bernhard Miklautz
f239e1f9c4 aFreeRDP: initial release
This is the initial release of aFreeRDP the FreeRDP Android client.
For build instructions have a look to docs/README.android.
2013-01-29 12:59:58 +01:00
Marc-André Moreau
9373e2549e cmake: fix Mac OS X IPP detection 2013-01-19 20:46:14 -05:00
Marc-André Moreau
1032c69e3f libfreerdp-primitives: fix building with IPP on Linux 2013-01-19 14:27:34 -05:00
Daryl Poe
b64408975d freerdp primitives library 2013-01-18 15:32:58 -07:00
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