Commit Graph

292 Commits

Author SHA1 Message Date
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
Bernhard Miklautz
9a33dbe826 build: fixed library versioning
Split version numbers into:
FREERDP_API_VERSION - the version of the API which is major.minor
FREERDP_VERSION - version of a release consisting of major.minor.revision (e.g. 1.1.0)
FREERDP_VERSION_FULL - like FREERDP_VERSION but with an optional "build" suffix (e.g 1.1.0-dev)
2012-11-18 17:07:33 +01:00
Marc-André Moreau
925eb59bf1 libfreerdp-common: refactoring of addin loader 2012-11-17 22:03:04 -05:00
Marc-André Moreau
598cfb3e9d Merge github.com:FreeRDP/FreeRDP 2012-11-17 16:46:53 -05:00
Corey C
ca89be3c91 wfreerdp-server: small packaging patch 2012-11-16 22:54:31 -05:00
Bernhard Miklautz
c04ea11900 Add support for version suffix
This adds the possibility to add a suffix like -rcx or -dev like
described in https://github.com/FreeRDP/FreeRDP/wiki/Release-Guide
2012-11-14 12:32:33 +01:00
Marc-André Moreau
421c4c86c4 windows: fix NSIS packaging 2012-11-12 13:17:44 -05:00
Marc-André Moreau
7714a625c3 macosx: fix linker option warning 2012-11-11 20:05:23 -05:00
Marc-André Moreau
1c4a587ef1 windows: fix build 2012-11-11 17:23:57 -05:00
Marc-André Moreau
0f79d5c62a cmake: added generation of static tables for channel subsystems 2012-11-05 19:55:15 -05:00
Marc-André Moreau
b3f6dea390 libfreerdp-client: started addin enumerator 2012-11-03 23:04:04 -04:00
Marc-André Moreau
e62860ab29 cmake: replace FindOptionalPackage macros with FindFeature macros 2012-11-02 19:27:01 -04:00
Marc-André Moreau
02c0a8fcaf libfreerdp-core: fix build on Windows, lower warning level 2012-10-30 17:20: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
Marc-André Moreau
b7a289f843 libwinpr: fix test build on Mac OS X 2012-10-25 15:34:57 -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
210ba6ac8c channels: fix linking of libfreerdp-client and libfreerdp-server 2012-10-19 13:10:42 -04:00
Marc-André Moreau
d251538252 libwinpr: fix build on linux 2012-10-18 22:05:06 -04:00
Marc-André Moreau
2f1711c506 libwinpr-path: make tests pass on Windows 2012-10-18 21:11:12 -04:00
Marc-André Moreau
dd23dd1aee ctest: change default output test path 2012-10-18 15:37:00 -04:00
Marc-André Moreau
e97f76a031 cmake: fix deb cpack generator 2012-10-17 18:14:35 -04:00
Marc-André Moreau
63858bf722 cmake: improve NSIS packaging 2012-10-17 13:07:29 -04:00
Marc-André Moreau
59f6d29335 cmake: get initial windows cpack generators to work 2012-10-17 10:46:40 -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
c82ad752b9 cmake: improve default CPack configuration 2012-10-16 21:57:43 -04:00
Marc-André Moreau
65e51b9bbf cmake: fix RPATH configuration 2012-10-15 17:13:54 -04:00
Marc-André Moreau
aaef9694ab libfreerdp-channels: split in client/server functionality, move to libfreerdp-channels-client and libfreerdp-channels-server 2012-10-15 17:03:34 -04:00
Marc-André Moreau
b0f368b10e cmake: fix install path, add RPATH configuration 2012-10-14 12:58:09 -04:00
Marc-André Moreau
e764c81ad5 freerdp: fix building of libraries for Android 2012-10-13 20:31:01 -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
7b2369a12e freerdp/include: remove public config.h file 2012-10-12 16:37:45 -04:00
Marc-André Moreau
c26a623ed1 cmake: rename BUILD_TESTING to TEST_BUILD 2012-10-12 16:04:46 -04:00
Marc-André Moreau
94ffaf704d Merge branch 'master' of github.com:FreeRDP/FreeRDP into channels 2012-10-11 09:28:49 -04:00
Marc-André Moreau
cebea5590a cmake: fix for fPIC in CMake 2.8.8- 2012-10-11 08:30:04 -04:00
Marc-André Moreau
1931c0d241 cmake: make channels static by default 2012-10-10 17:13:42 -04:00
Marc-André Moreau
e60a092d81 freerdp: fix headers 2012-10-08 23:02:04 -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
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