aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Only show pwquality setting where relevantPierre Ossman2024-08-151-3/+3
| | | | | It's not used for Windows or macOS builds, so don't show the setting there.
* Merge branch 'master' of https://github.com/prownd/tigervncPierre Ossman2024-08-151-0/+14
|\
| * vncpasswd add password complexity rule check to enhance securityhanjinpeng2024-08-141-0/+14
| | | | | | | | | | Use the library pwquality to check password complexity and improve security. Additionally, optional enable support is also set in CMake.
* | Merge branch 'c++11' of github.com:CendioOssman/tigervncPierre Ossman2024-06-241-1/+13
|\ \
| * | Enforce not shadowing variablesPierre Ossman2024-06-241-0/+1
| | | | | | | | | | | | | | | Shadowing variable can easily lead to bugs, so let's enforce that this is not allowed.
| * | Avoid shadowing variablesPierre Ossman2024-06-241-0/+8
| | | | | | | | | | | | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
| * | Enforce using "override"Pierre Ossman2024-06-241-0/+1
| | | | | | | | | | | | Make sure developers don't miss marking methods correctly.
| * | Enforce using nullptr for C++ codePierre Ossman2024-06-241-0/+1
| | | | | | | | | | | | | | | The compiler can help out in making sure we are consistent in our use of nullptr rather than NULL.
| * | Make sure we use C++ 11Pierre Ossman2024-06-241-1/+2
| |/ | | | | | | | | | | It's rare we use a compiler that has anything older as a default, but it does happen sometimes. So make sure to guarantee this so we can start using more modern constructs.
* / Change development version to 1.14.80Pierre Ossman2024-06-201-1/+1
|/
* Set all HAVE_ macros on the top levelPierre Ossman2024-01-241-0/+15
| | | | This keep everything consistent.
* Make systemd detection more robustPierre Ossman2024-01-241-1/+6
| | | | | We don't need to look for this on Windows or macOS, and we need to be able to gracefully handle systems without pkg-config.
* x0vncserver: Add support for systemd socket activationMike Looijmans2024-01-121-0/+3
| | | | | | | | | | systemd can pass in sockets as file descriptors 3 and beyond. Allows the server to use socket activation. When triggered by systemd, no other listening sockets (e.g. rfbport) will be activated. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
* Remove old mingw CMake checksPierre Ossman2023-01-301-8/+0
| | | | | This should have been removed with the code using these defines in 03ca975.
* 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.