-
- Downloads
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.
Showing
- .github/workflows/build.yml 4 additions, 4 deletions.github/workflows/build.yml
- .gitlab-ci.yml 1 addition, 1 deletion.gitlab-ci.yml
- CHANGES.txt 15 additions, 11 deletionsCHANGES.txt
- CMake/FLTK-Functions.cmake 53 additions, 26 deletionsCMake/FLTK-Functions.cmake
- CMake/FLTKConfig.cmake.in 106 additions, 16 deletionsCMake/FLTKConfig.cmake.in
- CMake/cmake_uninstall.cmake.in 20 additions, 19 deletionsCMake/cmake_uninstall.cmake.in
- CMake/compatibility.cmake 1 addition, 1 deletionCMake/compatibility.cmake
- CMake/export.cmake 81 additions, 57 deletionsCMake/export.cmake
- CMake/fl_add_library.cmake 195 additions, 64 deletionsCMake/fl_add_library.cmake
- CMake/fl_create_example.cmake 85 additions, 96 deletionsCMake/fl_create_example.cmake
- CMake/fl_debug_pkg.cmake 20 additions, 20 deletionsCMake/fl_debug_pkg.cmake
- CMake/fl_debug_var.cmake 85 additions, 16 deletionsCMake/fl_debug_var.cmake
- CMake/install-symlinks.cmake.in 2 additions, 2 deletionsCMake/install-symlinks.cmake.in
- CMake/install.cmake 33 additions, 32 deletionsCMake/install.cmake
- CMake/options.cmake 722 additions, 665 deletionsCMake/options.cmake
- CMake/resources.cmake 93 additions, 90 deletionsCMake/resources.cmake
- CMake/setup.cmake 108 additions, 83 deletionsCMake/setup.cmake
- CMake/variables.cmake 124 additions, 120 deletionsCMake/variables.cmake
- CMakeLists.txt 212 additions, 186 deletionsCMakeLists.txt
- FL/Fl.H 2 additions, 2 deletionsFL/Fl.H
Loading
Please register or sign in to comment