fltk/CMake
Albrecht Schlosser 8ac2a99565 Fix "fully support ... own shared libraries" (#1238)
- If shared libraries are built, then fluid, fltk-options, and the
  "games" are linked against the shared FLTK libraries. On some
  platforms the static and the shared versions of fluid and
  fltk-options are built. The games are only built if
  FLTK_BUILD_TEST is enabled.

- The CMake 'install' target now installs the games (if built)
  and their man pages on all platforms (no matter if that is
  useful, for instance on Windows).

- On macOS 'CMAKE_INSTALL_RPATH' is set so *installed* programs
  automatically find their shared FLTK libraries. The "shared"
  versions of fluid and fltk-options got their own '.plist' files.
  This works for both the executables themselves as well as those
  included in bundles. There may be more to do on the macOS platform.

Backported from 'master' (1066b69c8e).
2025-04-21 22:00:35 +02:00
..
cmake_uninstall.cmake.in Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
compatibility.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
export.cmake CMake: remove unintended debug output 2024-02-14 17:51:51 +01:00
fl_add_library.cmake CMake: make compile definition "FL_DLL" public for MSVC (#960) 2024-04-27 18:35:39 +02:00
fl_create_example.cmake CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
fl_debug_pkg.cmake CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
fl_debug_var.cmake CMake: check version for some properties in fl_debug_target() 2025-04-02 20:01:15 +02:00
fl_summary.cmake CMake build summary: output libdecor location if found 2024-04-20 19:49:04 +02:00
FLTK-Functions.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
FLTKConfig.cmake.in Fix "Cannot build project with CMake ..." (#970) 2024-05-13 12:05:27 +02:00
install-symlinks.cmake.in CMake: improve formatting, remove debug statements 2024-02-13 15:10:06 +01:00
install.cmake Fix "fully support ... own shared libraries" (#1238) 2025-04-21 22:00:35 +02:00
macOS-bundle-wrapper.in Create macOS "bundle wrapper" scripts (#115) 2020-07-23 02:07:43 +02:00
macOSMaxAllowed.c Improve procedure to construct best link command for macOS platform 2024-11-28 14:59:32 +01:00
MacOSXBundleInfo.plist.in
options.cmake options.cmake: Check Threads_FOUND, not CMAKE_HAVE_THREADS_LIBRARY 2025-04-01 19:16:25 +02: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 CMake: replace check_function_exists() with check_symbol_exists() (#1053) 2024-08-31 16:59:03 +02:00
setup.cmake MSYS2: Correctly detect ucrt64 environment (PR #1167) 2025-01-16 18:14:41 +01:00
variables.cmake Add -lwinspool necessary for new class Fl_PDF_File_Surface 2024-08-06 17:27:10 +02:00