View Issue Details [ Jump to Notes ] | [ Print ] |
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. |
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. |
|
Attached Files | |
|