Commit Graph

230 Commits

Author SHA1 Message Date
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