fltk/CMake
Albrecht Schlosser fd5cd80935 Introduce "Modern CMake" in FLTK
This is a big commit and there are too many changes to list them all.
The main changes are:

- rename all CMake build options to 'FLTK_*'
- export library targets with namespace (prefix) 'fltk::'
- standardize shared library target names with suffix '-shared'
- set public build properties on libraries for consumers
- document library names and aliases in README.CMake.txt
- document changes in "Migrating Code from FLTK 1.3 to 1.4"
- partial backwards compatibility for old user projects

Included but not directly related changes:

- fix Windows (Visual Studio) DLL build
- add CMake function fl_debug_target() to show target properties
- don't build test programs if FLTK is a subproject
- internal: reformat CMake code: remove space before '('

Thanks to Matthias and Manolo for their help, testing, and feeback.
2024-02-07 18:37:34 +01: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 Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
fl_add_library.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
fl_create_example.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
fl_debug_pkg.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
fl_debug_var.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
FLTK-Functions.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
FLTKConfig.cmake.in Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
install-symlinks.cmake.in Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
install.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
macOS-bundle-wrapper.in Create macOS "bundle wrapper" scripts (#115) 2020-07-23 02:07:43 +02:00
MacOSXBundleInfo.plist.in Mac OS + CMake: this file is used by CMake to build the Info.plist files of the application 2015-12-26 16:14:19 +00:00
options.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
posixScandir.cxx CMake: fix potential compiler warning in test file. 2017-06-29 18:27:07 +00:00
pthread_mutex_recursive.c Call pthread's recursive mutex on Linux (Issue #245) 2021-07-21 12:16:20 +02:00
resources.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
setup.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00
variables.cmake Introduce "Modern CMake" in FLTK 2024-02-07 18:37:34 +01:00