aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
Commit message (Collapse)AuthorAgeFilesLines
* Fix bad library references for some static depsPierre Ossman2020-12-071-2/+2
|
* Add comment why unistring is linked dynamicallyPierre Ossman2020-12-071-0/+2
|
* Merge branch 'master' of https://github.com/mriphysicist/tigervncPierre Ossman2020-12-071-2/+47
|\
| * Update build system so it will compile on Windows 10.Danny Park2020-08-181-2/+47
| | | | | | | | | | | | With this commit, TigerVNC will compile for Windows using MSYS2, MinGW-w64 and Inno Setup 6. The resulting binaries have some dll dependencies (even with BUILD_STATIC). The required dll dependencies are not included in the installer. Unfortunately, the latest version of MSYS2 and MinGW-w64 do not produce a working executable for Windows 7.
* | Test packaging on TravisPierre Ossman2020-07-161-90/+0
|/ | | | Don't just build things, also test the various packaging.
* Merge branch 'regions' of https://github.com/CendioOssman/tigervncPierre Ossman2020-06-152-0/+41
|\
| * Switch region code to pixmanPierre Ossman2020-05-012-0/+41
| | | | | | | | | | This is the current upstream so let's make use of it to get the latest in features and fixes.
| * Also link in math library in static buildPierre Ossman2020-05-011-1/+1
| | | | | | | | | | It's included by default in dynamic builds so we need to make sure it isn't lost when switching to static.
* | Implement touch gesture handling on UnixAaron Sowry2020-05-291-2/+2
| | | | | | | | | | Allows the user to perform certain important mouse operations using touch gestures instead.
* | Implement X Input pointer handling for UnixAaron Sowry2020-05-291-0/+3
|/ | | | | | | | Switch from using Core events to using X Input events for pointer devices in order to differentiate between mouse events and touch events. Because FLTK doesn't understand X Input 2, we intercept these events and translate them to core events where possible.
* Use standard install dir variable namesPierre Ossman2020-03-121-2/+2
| | | | | This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags.
* Fix C linking when doing static buildsPierre Ossman2020-03-121-2/+3
|
* Include Carbon when statically linking gettext on macOSPierre Ossman2020-01-301-0/+3
| | | | | As gettext needs some stuff from Carbon and we don't want to rely on it being pulled in as a side effect.
* Fix link order of nettle and hogweedPierre Ossman2019-12-091-1/+1
| | | | | Hogweed needs nettle, not the other way around. So make sure they are specified in the correct order for the static link to succeed.
* Include libuuid in static buildsPierre Ossman2019-01-091-1/+1
| | | | Modern fontconfig needs it, so make sure it is included.
* Link zlib statically on all platformsPeter Åstrand (astrand)2018-09-191-4/+1
| | | | | The API and ABI isn't as stable as we need, so it isn't safe to link it dynamically even on Linux.
* Add RandR support for x0vncserverPeter Åstrand (astrand)2018-04-091-0/+3
| | | | | | | | Change Xserver screen through libXrandr. For complex configurations, all outputs must have corresponding size modes. As a special case, if the client requests a single screen with an odd size (for example when adjusting the size of a non-fullscreen vncviewer), find a smaller suitable mode, and reduce the framebuffer size as well.
* Rename README.txt to README.rst and convert to reStructuredTextPeter Åstrand (astrand)2018-01-311-1/+1
|
* Improve test if library is a CMake targetPierre Ossman2017-10-061-2/+1
| | | | | Newer CMake complains when you try to get the property of something that isn't a target so use the specific if operator instead.
* Avoid getting LOCATION propertyPierre Ossman2017-10-061-3/+2
| | | | | It's not supported in newer CMake, so try to deduce the library filename from the target name.
* Add libpng as a dependency for freetype for static buildsPierre Ossman2017-08-241-1/+1
| | | | Newer versions of Freetype requires libpng as well.
* spelling fixesklemens2017-01-281-1/+1
|
* Update .la files on each buildPierre Ossman2016-12-151-0/+4
| | | | | This makes sure other build systems trigger properly, e.g. when building Xvnc.
* Add option to enable thread sanitizerPierre Ossman2015-11-271-0/+7
|
* Allow static linking against only the GCC libsDRC2015-10-271-1/+7
|
* Add address sanitizer switchPierre Ossman2015-09-291-0/+3
| | | | | | Useful for debugging memory leaks and access violations. It is not available on Windows though, and there is some problem compiling ObjectiveC++ with it turned on.
* Set libdir in generated .la filesPierre Ossman2015-04-301-1/+1
| | | | | | | This is needed in order to get libtool to treat them as normal libraries and not "convenience libraries". The latter are linked with --whole-archive, which pulls a lot of unnecessary stuff into Xvnc and libvnc.so.
* Merge branch 'upreqs' of https://github.com/CendioOssman/tigervncPierre Ossman2015-03-121-1/+1
|\ | | | | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx
| * Drop bundled zlibPierre Ossman2015-02-031-1/+1
| | | | | | | | | | We're not doing a sufficient job of keeping this updated so list it as an external requirement instead.
* | Merge branch 'perf' of https://github.com/CendioOssman/tigervncPierre Ossman2015-02-131-2/+6
|\ \
| * | GnuTLS needs socket libraries so include them in the static linkPierre Ossman2015-02-131-2/+6
| |/
* / Build fixes for modern versions of binutils.Peter Åstrand (astrand)2015-02-101-2/+2
|/ | | | Need to explicitly list DSOs.
* Static build fix - only attempt to link against libtasn1 if it's presentBrian P. Hinz2014-11-041-1/+6
| | | | | GnuTLS may be compiled without external libtasn1, so we shouldn't try to link against it unless it's actually present.
* Back out previous changeBrian P. Hinz2014-11-041-6/+1
| | | | Needed to merge upstream changes in before creating pull request.
* Merge remote-tracking branch 'upstream/master' into buildfixesBrian P. Hinz2014-11-032-26/+79
|\
| * Handle mingw circular dependencies in base librariesPierre Ossman2014-11-031-1/+5
| | | | | | | | Our link order should now match the built-in library list.
| * Handle static linking flags in .la filesPierre Ossman2014-11-031-11/+28
| |
| * Handle arguments that have the -l prefixPierre Ossman2014-11-031-0/+6
| |
| * Split up any entries that contain multiple link argumentsPierre Ossman2014-11-031-0/+12
| | | | | | | | This happens sometimes in order to enforce a strict ordering.
| * The output variable from find_library() needs to be clearedPierre Ossman2014-11-031-0/+4
| | | | | | | | | | Otherwise you'll just get the initial response back every time you call it.
| * Remove obsolete reference to staticlibPierre Ossman2014-11-031-4/+0
| | | | | | | | We don't use that directory anymore.
| * Use dynamic builds by defaultPierre Ossman2014-10-281-1/+1
| | | | | | | | | | Static builds are the special case, so it should be left off by default.
| * Include gettext and zlib in static GnuTLS linkPierre Ossman2014-10-281-0/+9
| | | | | | | | | | This is needed to make sure they are always included, and in the proper order.
| * Only link with crypt32 on WindowsPierre Ossman2014-10-281-1/+6
| | | | | | | | | | crypt32 is a Windows thing, and it is used no matter the crypto backend.
| * Put quotes around entire static link variablesPierre Ossman2014-10-281-8/+8
| | | | | | | | | | | | CMake is very aggressive about minimising the list of libraries, so we need to be similarily aggressive about quotes to make sure we get everything we want and in the correct order.
* | Static build fix - only attempt to link against libtasn1 if it's presentBrian P. Hinz2014-11-031-1/+6
|/ | | | | GnuTLS may be compiled without external libtasn1, so we shouldn't try to link against it unless it's actually present.
* Add in missing dependency for windows builds.Brian P. Hinz2014-10-221-1/+1
| | | | Commit f95272d created some undefined references in GnuTLS.
* Extend "static" build optionPierre Ossman2014-10-171-0/+96
| | | | | Try to link as much as possible statically in an effort to produce binaries that can be run everywhere.
* Clean up GnuTLS linking and instructionsPierre Ossman2014-10-172-72/+0
| | | | | | | | | GnuTLS can have different crypto backends, and it is rarely gcrypt these days. So we should not be including that unconditionally, and should not be pointing people at it either. Also remove the section about Win32 binaries as those are out of date and probably insecure. Lastly remove the section about static builds as it is a general issue and in no way complete with just the GnuTLS portions.
* Fixes problems with cmake detection of GnuTLS. The current CMakeLists.txt ↵Brian Hinz2014-02-192-0/+72
| | | | | | uses check_function_exists to identify legacy versions of GnuTLS but cmake performs this test by linking a small test program. If libgnutls, libgcrypt, or libgpg-error are outside the default library search path, linking the test program fails even though gnutls and it's dependencies are installed. This patch makes it possible to specify the location of each of the three libraries independently and only as needed. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5160 3789f03b-4d11-0410-bbf8-ca57d06f2519