fltk/CMake
Albrecht Schlosser 5175192755 CMake: build shared libs with OPTION_CAIROEXT (issue #250)
- remove separate libfltk_cairo to avoid cyclic dependencies, but
- keep a dummy libfltk_cairo in 1.4.0 for backwards compatibility
- move cairo/Fl_Cairo.cxx to src/Fl_Cairo.cxx
- add preliminary Cairo support for Visual Studio (MSVC)

Static linking is not affected by this change, but users building
with hand-made Makefiles will have to remove libfltk_cairo starting
with FLTK 1.4.0. The dummy library can be linked for backwards
compatibility but it will be removed later (in 1.4.x or 1.5.0).

The shared FLTK library libfltk.{so|dylib|dll|..} depends on libcairo
if and only if FLTK is built with one of the Cairo options. This has
always been the case for OPTION_CAIROEXT but is now also true if only
OPTION_CAIRO is selected, i.e. FLTK programs linked with a Cairo
enabled shared FLTK library will also be linked with libcairo. The same
is true for configure options --enable-cairo and --enable-cairoext,
respectively.

Preliminary Cairo support for MSVC now detects a Cairo installation
using the CMake variable FLTK_CAIRO_DIR which must be set by the user.
Note that this feature is temporary and may be changed in the future
for a better and more comfortable version.
2023-03-09 17:34:05 +01:00
..
FLTK-Functions.cmake Make building Fluid optional. (#539) 2022-11-13 20:16:54 +01:00
FLTKConfig.cmake.in Make building Fluid optional. (#539) 2022-11-13 20:16:54 +01:00
MacOSXBundleInfo.plist.in
UseFLTK.cmake.in Remove $Id$ tags, update URL's, and more 2020-07-06 20:28:20 +02:00
cmake_uninstall.cmake.in
compatibility.cmake Add CMake compatibility functions and macros 2021-07-26 17:40:26 +02:00
export.cmake Make building Fluid optional. (#539) 2022-11-13 20:16:54 +01:00
fl_add_library.cmake CMake: refactor and reformat CMake files 2020-07-15 00:34:53 +02:00
fl_create_example.cmake CMake: build shared libs with OPTION_CAIROEXT (issue #250) 2023-03-09 17:34:05 +01:00
fl_debug_pkg.cmake CMake: improve debug macros 2022-11-11 17:05:11 +01:00
fl_debug_var.cmake CMake: improve debug macros 2022-11-11 17:05:11 +01:00
install-symlinks.cmake.in Update CMake and make files, minor edits only 2021-02-15 19:45:20 +01:00
install.cmake Move global FLTK options into new app fltk-admin (#560) 2023-01-21 17:14:41 +01:00
macOS-bundle-wrapper.in Create macOS "bundle wrapper" scripts (#115) 2020-07-23 02:07:43 +02:00
options.cmake CMake: build shared libs with OPTION_CAIROEXT (issue #250) 2023-03-09 17:34:05 +01:00
posixScandir.cxx
pthread_mutex_recursive.c Call pthread's recursive mutex on Linux (Issue #245) 2021-07-21 12:16:20 +02:00
resources.cmake Wayland under FreeBSD: detect <GL/glu.h> and fix LIBDECOR_PLUGIN_DIR. 2022-05-21 07:55:03 +02:00
setup.cmake Remove usage of __APPLE_QUARTZ__ (#673) 2023-02-06 21:42:40 +01:00
variables.cmake Fix fltk-config --use-images with local image libs (#689) 2023-02-28 14:47:33 +01:00