summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Include a stripped-down version of FLTK in tree and add a USE_INCLUDED_FLTK ↵DRC2011-07-281-15/+40
| | | | | | option to build against it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4603 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Actually link and run the libjpeg-turbo test program to ensure that ↵DRC2011-07-281-1/+19
| | | | | | JPEG_LIBRARY is set correctly git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4602 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix regression. We need to set WIN64 so it will be properly defined in ↵DRC2011-07-061-0/+1
| | | | | | resdefs.h. Failing to do so causes the incorrect manifest file to be included in the Win64 version of WinVNC4.exe, which causes it to fail to run. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4577 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The previous fix for eliminating the console window in vncviewer.exe was not ↵DRC2011-07-051-3/+0
| | | | | | portable (it only worked in MinGW, which isn't what most people use.) Use the CMake "WIN32" target property instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4576 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Build with -Wl,-subsystem,windows on Windows, to avoid console window. Peter Åstrand2011-07-051-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4575 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add uninstall targetDRC2011-06-251-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4554 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Change version number to 1.1.80 (1.2 alpha) to distinguish from the 1.1 branchDRC2011-06-241-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4543 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused autotools build systemDRC2011-06-241-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Deploy Mac TigerVNC Viewer as an application bundle instead of a package, ↵DRC2011-06-241-1/+2
| | | | | | and consolidate all of the installer scripts under release/ and cmake/ git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4538 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Installer needs to be built from the top-level CMake context.DRC2011-06-241-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4535 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make it clear that we were looking for "libjpeg-turbo", not "jpeg-turbo"DRC2011-06-241-2/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4532 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Automatically disable NLS if gettext and/or libiconv are missing. On some ↵DRC2011-06-241-19/+22
| | | | | | platforms, such as Windows and OS X, NLS can't be enabled without a lot of custom configuration, so the build simply fails on those platforms unless -DENABLE_NLS=0 is specified. This change makes the CMake system behave more like autotools used to, and it is consistent with the detection behavior of other non-essential modules, such as GnuTLS. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4531 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Visual C++ requires gcrypt.h because it doesn't have ssize_t. Also, ↵DRC2011-06-241-0/+4
| | | | | | building with the GnuTLS static libs (using MinGW) requires user32 and ws2_32. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4529 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't link against the X11 libraries on Mac, because FLTK doesn't use them.DRC2011-06-231-13/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4524 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Build new FLTK-based viewer by defaultDRC2011-06-231-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4523 3789f03b-4d11-0410-bbf8-ca57d06f2519
* We don't use fltk_images or fltk_forms, so don't try to detect those ↵DRC2011-06-231-0/+2
| | | | | | (otherwise, when linking against libfltk.a, the build system will try to link with libfltk_images.a and libfltk_forms.a as well, which can introduce external dependencies that we don't want.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4521 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Need to explicitly link with libiconv when using libintl.a.DRC2011-06-221-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4517 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't define _WIN32_IE or _WIN32_WINNT except on Windows buildsDRC2011-06-221-6/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4516 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Detect and enable PAM authentication supportDRC2011-06-221-0/+15
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4513 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix HAVE_FLTK_DEAD_KEYS testDRC2011-06-101-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4491 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Exclude unix directory from compile on Apple platform,Henrik Andersson2011-06-101-1/+4
| | | | | | | | | | | no use for x server realted tools on this platform. --Thiline, and those below, will be ignored-- M CMakeLists.txt git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4490 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Building the Xvnc server requires libtool control files of rdr, rfb,Henrik Andersson2011-06-091-0/+2
| | | | | | | | | | | | | network and Xregion, which a cmake build will NOT produce, this macro tries to create a libtool control file *.la for the specified target with libdependencies for a static library target. Due to the automake part of Xvnc references to libtool files in source tree you need to build vncviewer using cmake in the source tree. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4482 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for cursors to the new viewer.Pierre Ossman2011-06-081-0/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4472 3789f03b-4d11-0410-bbf8-ca57d06f2519
* CMake 2.8 is necessary in order to properly detect and configure GnuTLS.DRC2011-06-071-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4470 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Do not include the po/ subdirectory unless NLS is enabled.DRC2011-06-071-1/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4469 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix detection of GnuTLS and its features when linking statically with an ↵DRC2011-06-071-1/+9
| | | | | | installation of GnuTLS installed in an arbitrary directory git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4468 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Don't need to save the value of CMAKE_REQUIRED_FLAGS or CMAKE_REQUIRED_LIBRARIESDRC2011-06-071-4/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4467 3789f03b-4d11-0410-bbf8-ca57d06f2519
* If JPEG_INCLUDE_DIR or JPEG_LIBRARY have been overridden on the CMake ↵DRC2011-06-071-0/+6
| | | | | | command line (necessary when building against the libjpeg-turbo SDK, which is installed in /opt/libjpeg-turbo), then use the overridden values when performing the test to determine whether or not the JPEG library is libjpeg-turbo. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4466 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Reenable the automatic enabling of GnuTLS if present, but retain the abilityPierre Ossman2011-05-301-18/+19
| | | | | | | to explicitly disable it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4457 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make use of GnuTLS an explicit choice to avoid surprises if it gets includedPierre Ossman2011-05-271-2/+4
| | | | | | | or not. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4455 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement full screen support in new vncviewer.Pierre Ossman2011-05-261-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4447 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add some more libraries that are generally needed by FLTK and CMake doesn'tPierre Ossman2011-05-241-0/+6
| | | | | | | figure out by itself. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4441 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add support for multimedia keys.Pierre Ossman2011-05-201-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4437 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implement support for sending the local clipboard to the server.Pierre Ossman2011-05-191-1/+11
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4432 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The initial fix for FLTK to handle dead keys broke CJK input, so a new methodPierre Ossman2011-05-131-1/+1
| | | | | | | had to be devised. Adopt our code to the new version. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4411 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Finish up the gettext handling in CMake. The included functions in CMake onlyPierre Ossman2011-04-281-3/+37
| | | | | | | | take care of finding the gettext tools, not the headers and libraries needed to build things. Use the licq project as inspiration on how to solve this. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4389 3789f03b-4d11-0410-bbf8-ca57d06f2519
* This patch adds gettext support for our new vncviewer. CMake only. ThePeter Åstrand2011-04-281-1/+7
| | | | | | | | | change of the project name is to make the CMake build behave like the Autotools build - define PACKAGE_NAME in the same way. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4388 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Handle dead keys more properly (through some fixing in FLTK).Pierre Ossman2011-04-111-0/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4365 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Initial commit of new FLTK based vncviewer. Most of the code comes from thePierre Ossman2011-03-091-0/+14
| | | | | | | current Unix vncviewer. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4345 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Get the Unix stuff to build using CMake. Based on a patch by Henrik Andersson.Pierre Ossman2011-03-081-1/+16
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4336 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix up typo that's been copied around in several places.Pierre Ossman2011-03-081-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4332 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added complete checks of GnuTLS.Henrik Andersson2011-03-081-0/+12
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4331 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Set compiler flags early in case they influence the tests.Pierre Ossman2011-03-081-9/+9
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4330 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Separate and comment the platform tests a bit better.Pierre Ossman2011-03-081-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4329 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Consolidate CMake modules includes at the top of the file.Pierre Ossman2011-03-081-4/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4328 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Windows actually has socklen_t, it's just that it is in a special header.Pierre Ossman2011-03-081-2/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4327 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fixed socklen_t test unix compatible.Henrik Andersson2011-03-081-2/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4326 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Complete misunderstanding on my part. CMAKE_CL_64 indicates a _Microsoft_Pierre Ossman2011-03-081-10/+2
| | | | | | | | compiler and is not a generic test for 64-bit. Start looking at the size of void* instead. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4325 3789f03b-4d11-0410-bbf8-ca57d06f2519
* The Win64 headers don't like us requesting Windows 2000 as the minimum versionPierre Ossman2011-03-041-1/+8
| | | | | | | as that version did not have 64-bit support. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4323 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Restore workaround for CMake's broken 64-bit detection, but in a morePierre Ossman2011-03-041-0/+8
| | | | | | | generic manner. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4322 3789f03b-4d11-0410-bbf8-ca57d06f2519