aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add address sanitizer switchPierre Ossman2015-09-291-0/+6
| | | | | | 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.
* Change development version to 1.5.80Pierre Ossman2015-06-181-2/+2
|
* Require getaddrinfo() on all systemsPierre Ossman2015-03-171-12/+0
| | | | | Every reasonably current system support getaddrinfo() so get rid of the legacy fallbacks.
* Remove HAVE_INET_ATON as nothing uses itPierre Ossman2015-03-171-2/+0
|
* Look in libsocket for socket functions on SolarisPierre Ossman2015-03-171-0/+3
|
* stop using check_function_exists() for Windows socket functionsPierre Ossman2015-03-171-10/+7
| | | | | It fails to find stdcall functions, so we need to just hard code things based on our minimum Windows requirements.
* stop setting CMAKE_EXTRA_INCLUDE_FILES for check_function_exists()Pierre Ossman2015-03-171-4/+0
| | | | It ignores it anyway.
* Bump Windows requirement to XP SP2Pierre Ossman2015-03-171-9/+2
| | | | | That's even more generous than Microsoft themselves, and we need such a new version for basic IPv6 support.
* Merge branch 'upreqs' of https://github.com/CendioOssman/tigervncPierre Ossman2015-03-121-70/+1
|\ | | | | | | | | | | Conflicts: contrib/packages/rpm/el5/SPECS/tigervnc.spec vncviewer/Viewport.cxx
| * Drop bundled zlibPierre Ossman2015-02-031-8/+1
| | | | | | | | | | We're not doing a sufficient job of keeping this updated so list it as an external requirement instead.
| * Raise GnuTLS requirements to 3.xPierre Ossman2015-01-291-24/+0
| | | | | | | | | | | | This allows us to simplify things by getting rid of some old compatibility code. People should really be using current versions of GnuTLS anyway to stay secure.
| * Raise FLTK requirement to 1.3.3Pierre Ossman2015-01-271-35/+0
| | | | | | | | This means that we can remove a lot of conditionals and fallback code.
* | Make warnings into errors when doing debug buildsPierre Ossman2015-03-031-0/+8
| | | | | | | | | | | | Assume debug builds means it's a developer working on TigerVNC rather than a user just compiling it. At that point we should not accept any new warnings in the code.
* | Turn on more warnings to catch potential bugsPierre Ossman2015-03-031-0/+4
| |
* | Build fixes for modern versions of binutils.Peter Åstrand (astrand)2015-02-101-0/+3
|/ | | | Need to explicitly list DSOs.