| [ Return to Bugs & Features | SVN ⇄ GIT ]
STR #3224
Application: | FLTK Library |
Status: | 2 - Closed w/o Resolution |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Build Files |
Summary: | add CMake package registry option |
Version: | 1.4-feature |
Created By: | mjsurette |
Assigned To: | AlbrechtS |
Fix Version: | Will Not Fix |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | mjsurette 04:32 May 01, 2015 |
| The CMake package registry feature keeps track of where a project is built so it can easily be found using whatever name you've given it.
This patch adds the option to use this feature when you build FLTK, allowing for easy use of multiple builds of FLTK in user packages. | |
|
#2 | matt 07:00 Feb 05, 2019 |
| This sounds ok to me. Is there a core dev who knows more about CMake who can comment? | |
|
#3 | AlbrechtS 09:13 Feb 05, 2019 |
| Bumped to 1.4, assigned to myself.
The patch wouldn't apply cleanly because the source code was changed (but I know what to do).
OTOH the patch would only be *usable* with CMake 2.8.5 and later. Currently we require 2.6.3, but we need to change this anyway (I'm targeting 3.2.x for the future). In this case big parts of the patch would be useless.
So, yes, I don't know if I know more than you about CMake ;-) but I know what it's all about and I can fix it (in 1.4) shortly. | |
|
#4 | AlbrechtS 14:21 Jan 16, 2023 |
| This STR will be handled in GitHub Issue #655: "CMake fixes". https://github.com/fltk/fltk/issues/655 | |
|
#5 | AlbrechtS 06:02 Dec 16, 2023 |
| I decided not to implement this feature in FLTK 1.4.0 and changed the status of this STR from "Closed w/Resolution" to "Closed w/o Resolution". It may be implemented later though (if requested by users), see GitHub Issue 655.
Rationale: CMake has been developed further over time and FLTK's CMake support as well. As of today FLTK requires at least CMake 3.15, and since CMake 3.15 the "CMake policy" has changed to *disable* the package registry by default. See documentation of CMake policy CMP0090: https://cmake.org/cmake/help/latest/policy/CMP0090.html .
Hence we don't try to write to the package registry and the given patch would need massive changes anyway. | |
[ Return to Bugs & Features ]
|
| |