View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007693 | CMake | CMake | public | 2008-09-17 11:11 | 2011-05-02 14:45 | ||||
Reporter | Mike McQuaid | ||||||||
Assigned To | Bill Hoffman | ||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | closed | Resolution | won't fix | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake-2-6 | ||||||||
Target Version | Fixed in Version | CMake 2.8.4 | |||||||
Summary | 0007693: Provide macro to get the symlinks from a library's name | ||||||||
Description | The *_LIBRARY variables provided by CMake frequently point to symlinks and, on installation, it is sometimes desirable to install the symlinks as well as the library itself. I've attached a CMake module file that accomplishes this. Please give me feedback. In addition, if this module is merged I would be happy to support it. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0013591) Bill Hoffman (manager) 2008-09-25 16:57 |
Seems a bit project specific. I am not sure it belongs in cmake. |
(0013597) Mike McQuaid (reporter) 2008-09-26 08:42 |
I disagree, if you want to install a library from Linux or Mac that is built outside of your build system then doing this is a nightmare without a script like this as CMake doesn't seem to have any way of resolving symlinks. |
(0013629) Bill Hoffman (manager) 2008-10-01 09:16 |
Since this is for support of installing things not built with CMake, I think it is a bit out of the norm. Also, what will this do on windows (most likely grab .pdb files and other files that match the library). I just think this would be better not in the main CMake release. I don't want to have to support it inside CMake, but it should be easy to maintain in your project. |
(0013636) Mike McQuaid (reporter) 2008-10-01 09:46 |
Fair enough. What would be useful is functionality in CMake to resolve symlinks to an actual file, to which this script is basically a hack to try and accomplish. If that was provided by something (perhaps the by actually calling the cmake executable, to provide a platform independent way that always returned false on Windows). I guess if this exists at all it wants to be a patch against GetPrerequisites that does this sort of thing. |
(0015725) Mike McQuaid (reporter) 2009-03-18 13:33 |
If this isn't going into CMake can it be closed? Just to clean up my "view" in Mantis :) Thanks! |
(0024478) David Cole (manager) 2011-01-06 15:29 |
Resolving since reporter says "If this isn't going into CMake can it be closed?" |
(0026320) David Cole (manager) 2011-05-02 14:45 |
Closing resolved issues that have not been updated in more than 3 months. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-09-17 11:11 | Mike McQuaid | New Issue | |
2008-09-17 11:11 | Mike McQuaid | File Added: GetLibraryAndSymlinks.cmake | |
2008-09-25 16:57 | Bill Hoffman | Note Added: 0013591 | |
2008-09-25 16:57 | Bill Hoffman | Status | new => assigned |
2008-09-25 16:57 | Bill Hoffman | Assigned To | => Bill Hoffman |
2008-09-26 08:42 | Mike McQuaid | Note Added: 0013597 | |
2008-10-01 09:16 | Bill Hoffman | Note Added: 0013629 | |
2008-10-01 09:46 | Mike McQuaid | Note Added: 0013636 | |
2009-03-18 13:33 | Mike McQuaid | Note Added: 0015725 | |
2011-01-06 15:29 | David Cole | Note Added: 0024478 | |
2011-01-06 15:29 | David Cole | Status | assigned => resolved |
2011-01-06 15:29 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-01-06 15:29 | David Cole | Resolution | open => won't fix |
2011-05-02 14:45 | David Cole | Note Added: 0026320 | |
2011-05-02 14:45 | David Cole | Status | resolved => closed |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |