MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010856 | CMake | CMake | public | 2010-06-21 14:15 | 2011-04-04 12:00 |
|
Reporter | James Bigler | |
Assigned To | Bill Hoffman | |
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | duplicate | |
Platform | | OS | | OS Version | |
Product Version | CMake-2-8 | |
Target Version | | Fixed in Version | CMake 2.8.4 | |
|
Summary | 0010856: Wild-cards or REGEX for FIND_XXX would be helpful |
Description | There are occasions when we don't know the exact name of a file such as when developers tag a version on the end. This can make finding the file rather cumbersome and less future proof when new versions of the file comes out, and we have to edit the list of names to include the new version.
Instead it would be useful to either augment the NAMES field to include support for regular expressions or wild-cards or add a new field that can be used in place of NAMES (or in addition to) that would support this new feature. |
Steps To Reproduce | |
Additional Information | One example of its use would be with the dlls that are now shipped with the CUDA toolkit. These dlls are tagged with the version of the toolkit plus some other build number (cudart32_30_14.dll - 32 bit, version 3.0.14). It would be useful to just look for cudart32*.dll instead of having to know what the random 14 is, because I would like to programmatically look for the cudart dll without having to know that last number (which is unique to the release, BTW).
Also, I just saw a patch go through for the png library find script where yet another version had to be added. Doing a search for libpng* or even libpng1* would be a lot more flexible and future proof. |
Tags | No tags attached. |
Relationships | duplicate of | 0008396 | closed | Bill Hoffman | FIND_LIBRARY with version specification |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-06-21 14:15 | James Bigler | New Issue | |
2010-11-10 13:41 | James Bigler | Relationship added | duplicate of 0008396 |
2010-12-15 10:07 | David Cole | Assigned To | => Bill Hoffman |
2010-12-15 10:07 | David Cole | Status | new => assigned |
2010-12-15 10:08 | David Cole | Note Added: 0024151 | |
2010-12-15 10:08 | David Cole | Status | assigned => resolved |
2010-12-15 10:08 | David Cole | Fixed in Version | => CMake 2.8.4 |
2010-12-15 10:08 | David Cole | Resolution | open => duplicate |
2011-04-04 12:00 | David Cole | Note Added: 0026063 | |
2011-04-04 12:00 | David Cole | Status | resolved => closed |