summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Integrate Java TigerVNC Viewer build into CMake build systemDRC2011-10-041-0/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4690 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix BUILD_STATIC on MinGW and document the featureDRC2011-10-011-3/+8
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4683 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. Apple version doesn't need to link with libdl, and we don't want to ↵DRC2011-09-141-2/+1
| | | | | | clobber the existing value of FLTK_LIBRARIES. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4674 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Included FLTK depends on libdlDRC2011-09-141-0/+3
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4672 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Clarify when in-tree version of Zlib is being used, and remove redundant ↵DRC2011-08-231-1/+3
| | | | | | "not found" message for the system version (find_package() already takes care of that.) git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4647 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Avoid MSVC linker warning when doing a Debug build if dependent libraries, ↵DRC2011-08-101-0/+4
| | | | | | such as libjpeg-turbo, are built using the release version of libc git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4624 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Oops. The 64BIT variable is a carry-over from VirtualGL. TigerVNC's build ↵DRC2011-08-081-1/+1
| | | | | | system doesn't define it. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4613 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Only try to run the libjpeg-turbo test program if we aren't cross-compiling. ↵DRC2011-08-011-2/+8
| | | | | | In a cross-compile environment, we'll settle for just making sure it compiles and links. Even though that can theoretically produce situations in which the wrong libjpeg is linked, such situations would be exceedingly rare in a cross-compile environment, since there is no "system libjpeg" to accidentally link with. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4611 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Include build date/time and bitness in the About dialogDRC2011-07-281-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4609 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Add a BUILD_STATIC option which links statically against libgcc and ↵DRC2011-07-281-0/+38
| | | | | | libstdc++ (if applicable.) Remove the corresponding code from build-xorg. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4608 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Apply our FLTK extensionsDRC2011-07-281-6/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4605 3789f03b-4d11-0410-bbf8-ca57d06f2519
* 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