View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010856CMakeCMakepublic2010-06-21 14:152011-04-04 12:00
ReporterJames Bigler 
Assigned ToBill Hoffman 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionFixed in VersionCMake 2.8.4 
Summary0010856: Wild-cards or REGEX for FIND_XXX would be helpful
DescriptionThere 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 InformationOne 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.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0008396closedBill Hoffman FIND_LIBRARY with version specification 

  Notes
(0024151)
David Cole (manager)
2010-12-15 10:08

Please monitor duplicate bug 8396 to find out when this will be addressed...
(0026063)
David Cole (manager)
2011-04-04 12:00

Closing resolved issues that have not been updated in more than 3 months.

 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


Copyright © 2000 - 2018 MantisBT Team