aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Make "BUILD_VIEWER" a tri-state optionPierre Ossman2025-05-271-12/+23
| | | | Let it follow the same semantics as other optional features.
* Avoid build type check with better variablesPierre Ossman2025-04-031-7/+4
| | | | | | There already exists variables for having different compile flags depending on the build type. Let's use them instead of doing conditional checks.
* Enable mild optimizations for debug buildsPierre Ossman2025-04-031-0/+4
| | | | | | Primarily because _FORTIFY_SOURCE throws warnings without any optimizations enabled. But this should also make the development experience a bit nicer.
* Always build with _FORTIFY_SOURCEPierre Ossman2025-03-211-0/+1
| | | | | This is already enabled in Ubuntu and RPM builds, so we might as well enable it everywhere so all developers and users see the same behaviour.
* Enable Google Test unit test frameworkPierre Ossman2025-02-271-0/+2
| | | | Let's try to use something more proper for our unit tests.
* Get rid of __rfbmax()/__rfbmin()Pierre Ossman2025-02-251-0/+5
| | | | | | | | They weren't that well used, and were mostly just confusing special functions anyway. Allows us to move away from generic and ambigious headers such as "util".
* Check that FLTK 1.3 is being usedPierre Ossman2025-01-211-0/+14
| | | | | We're not compatible with FLTK 1.4 yet, so let's try to inform users early that this will not work.
* Change development version to 1.15.80Pierre Ossman2025-01-141-1/+1
|
* Mandatory features via the cmake command lineJoachim Falk2025-01-121-8/+35
| | | | If a feature is explicitly requested via the cmake command line, error out if necessary libraries are missing and do not silently disable the requested feature.
* Standardize log message prefix formatMadeleine Nilsson2024-11-111-1/+1
| | | | The reason for this is to keep a consistency through out the project.
* 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.