aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Create .la files at the end of the cmake runPierre Ossman2023-01-101-0/+2
| | | | | We might not have all the necessary information, e.g. all targets might not exist yet, until we're done going through all CMakeLists.
* Enable more warnings by defaultPierre Ossman2023-01-051-2/+2
| | | | | | | | These are also useful warnings that tend to find real bugs, so let's enable then. The downside is they require us to mark certain things so the compiler knows if they were on purpose or not.
* Always enable -WvlaPierre Ossman2023-01-041-4/+4
| | | | | It's only the -Werror part we want to be conditional on being debug builds.
* Change development version to 1.13.80Pierre Ossman2022-12-151-1/+1
|
* Automatically generate RCVERSIONPierre Ossman2022-10-271-1/+1
| | | | Avoid having to update this manually.
* Add support for RSA-AES security typespdlan2022-09-011-0/+8
|
* Move include_directories() to proper placesPierre Ossman2022-08-251-4/+0
| | | | We should scope these as narrowely as possible to avoid side effects.
* Find FFMPEG using pkg-configPierre Ossman2022-06-071-11/+4
| | | | | | This is the standard method of finding it on Unix systems, so make sure we use it. Still keep a fallback, though, for other systems, e.g. Windows.
* Fix up ffmpeg header and library handlingPierre Ossman2022-06-071-1/+1
| | | | | FFMPEG is needed by the RFB library, so all the details about it should only be applied there and not for other components.
* Add target_link_directory() compat functionPierre Ossman2022-06-071-0/+2
| | | | | | We need this function to deal with pkgconfig files properly, but unfortunately it doesn't exist until CMake 3.13, and we need to support CMake 3.10. So add a hacky compatibility function for older systems.
* Enable stream sanity checks in debug buildsPierre Ossman2022-04-061-0/+5
| | | | | | Enable this automatically for developers so we increase the chance of these problems getting caught. There is a risk of overhead though so keep them disabled for release builds.
* Remove 32-/64-bit distinctionsPierre Ossman2022-01-211-6/+0
| | | | | The migration from 32-bit to 64-bit has long passed. Let's get rid of all distinctions as native applications it the norm now.
* support H264 decoding with MediaFoundation on WindowsMārtiņš Možeiko2022-01-211-2/+2
|
* H264 DecoderVladimir Sukhonosov2022-01-211-0/+30
| | | | Linux implementation using ffmpeg
* SELinux: restore SELinux context in case of different policiesJan Grulich2022-01-131-0/+13
|
* Raise CMake requirement to 3.10Pierre Ossman2021-11-051-21/+1
| | | | | | It's difficult to support both old and new versions, so raise the requirement to the oldest that is commonly used, which is CMake 3.10.2 on Ubuntu 18.04.
* Change development version to 1.12.80Pierre Ossman2021-09-081-2/+2
|
* Disable dangerous macOS SDK macrosPierre Ossman2021-08-271-0/+5
| | | | | They define macros such as "check()" which causes our code to break as we have methods with that name.
* Allow building with -DBUILD_VIEWER=OFFAlex Richardson2021-07-151-27/+30
| | | | | Without this change I get CMake errors due to use of ${FLTK_INCLUDE_DIR} and references to the non-existent vncviewer target.
* Disable nonliteral format warnings on clangPierre Ossman2021-06-081-0/+5
| | | | | These are incompatible with functions such as gettext() as clang hasn't implemented the function attribute function_arg.
* Change development version to 1.11.80Pierre Ossman2020-08-191-2/+2
|
* Move release cmake stuff to release directoryPierre Ossman2020-07-161-1/+1
| | | | It's just confusing when this is split over two directories.
* Merge branch 'regions' of https://github.com/CendioOssman/tigervncPierre Ossman2020-06-151-0/+3
|\
| * Switch region code to pixmanPierre Ossman2020-05-011-0/+3
| | | | | | | | | | This is the current upstream so let's make use of it to get the latest in features and fixes.
* | Bump up Windows version from Vista to Windows 7Samuel Mannehed2020-05-201-2/+2
|/
* Use standard install dir variable namesPierre Ossman2020-03-121-13/+9
| | | | | This makes our builds directly compatible with most distributions without packagers/users having to specify extra flags.
* Start sessions via PAMPierre Ossman2020-03-121-0/+2
| | | | | | | | | This sets up a more correct session as there are key tasks that need to be performed by PAM. E.g. systemd will allocate cgroups and start base services. In order to easily handle this as a system service the mapping of displays is now done via a configuration file.
* Make PAM mandatoryPierre Ossman2020-03-121-4/+2
| | | | | It is present on all UNIX systems anyway, so let's simplify things. We will need it for more proper session startup anyway.
* Always install systemd servicesPierre Ossman2020-03-121-0/+3
| | | | | | | It is the most common init system these days so it should not be hidden in the contrib/ directory. This also removes all old SysV files from the contrib packages.
* Add default configuration filesPierre Ossman2020-03-121-0/+1
| | | | Install some example files to make things more easily discoverable.
* Change development version to 1.10.80Pierre Ossman2019-10-181-2/+2
|
* Merge pull request #765 from bmwiedemann/timestampBrian Hinz2018-11-271-4/+2
|\ | | | | Use cmake TIMESTAMP function
| * Use cmake TIMESTAMP functionBernhard M. Wiedemann2018-11-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | because it is not only platform independent but also allows to override the build date This helps to make tigervnc builds reproducible See https://reproducible-builds.org/ for why this is good Also adds UTC flag, to be independent of timezone. Also changes JAVA_DATE format to ISO-8601 date format. Requires cmake-2.8.11+ from 2013
* | Remove variable length arraysPierre Ossman2018-11-071-2/+2
|/ | | | | These are not allowed in C++, and have been made optional in C11. So let's just get rid of them and any issues they may cause.
* Change development version to 1.9.80Pierre Ossman2018-06-131-2/+2
|
* Fix windows build with -DCMAKE_BUILD_TYPE=Debug on machines with IActiveDesktopPeter Åstrand (astrand)2018-05-021-2/+2
| | | | | Avoid that the check_c_source_compiles tests fails due to unused variables, since Debug adds -Werror.
* Make sure we get C99Pierre Ossman2018-04-131-0/+3
| | | | | The compiler might default to something older, so make sure we get the features we need.
* Change development version to 1.8.80Pierre Ossman2017-04-191-2/+2
|
* Check CMake version for MinGW RC file handlingJoel Teichroeb2016-07-121-2/+3
|
* Change development version to 1.7.80Pierre Ossman2016-07-011-2/+2
|
* Use cmake_policy() in a safe wayPierre Ossman2016-04-041-1/+3
| | | | | | cmake_policy() by itself raises the minimum requirement on CMake. We want it to be optional though, so add the necessary if() around it.
* Avoid builtin dgettext when checking libcPierre Ossman2016-03-291-0/+2
| | | | | The builtin causes errors in the test, and we're also trying to determine if it is provided by libc or not.
* Silence CMake link interface warningPierre Ossman2016-03-291-0/+1
| | | | | | | We don't modify the link interface directly so these warnings are just useless noise. We could in theory use the new naming instead, but at least CMake 2.8.12 is buggy and screws up the link when that policy is active.
* Don't probe libintl if it wasn't foundPierre Ossman2016-03-291-4/+6
| | | | | It just makes CMake error out rather than continue without NLS support.
* Merge branch 'multicore' of https://github.com/CendioOssman/tigervncPierre Ossman2015-12-021-2/+8
|\
| * Add option to enable thread sanitizerPierre Ossman2015-11-271-0/+6
| |
| * Raise system requirement on Windows to Vista/2008Pierre Ossman2015-11-271-2/+2
| | | | | | | | | | We need the newer versions of Windows to get access to better thread primitives.
* | Change development version to 1.6.80Pierre Ossman2015-11-261-2/+2
|/
* Allow BUILD_TIMESTAMP to be set staticallyDRC2015-10-271-4/+2
|
* Ensure that libjpeg-turbo headers are includedDRC2015-10-161-0/+2
| | | | | | | On some systems, the build was picking up jpeglib.h from the system include directories, and if the system's version of libjpeg[-turbo] used a different API/ABI version than the one specified in JPEG_LIBRARY, this led to a "Wrong JPEG library version" error at run time.