[cmake-developers] [CMake 0011617]: Add warning to file(GLOB help text

Mantis Bug Tracker mantis at public.kitware.com
Thu Dec 16 14:15:47 EST 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11617 
====================================================================== 
Reported By:                Ryan Pavlik
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11617
Category:                   CMake
Reproducibility:            N/A
Severity:                   text
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-12-16 14:15 EST
Last Modified:              2010-12-16 14:15 EST
====================================================================== 
Summary:                    Add warning to file(GLOB help text
Description: 
>From my observations on the mailing list, the first instinct of a lot of users
is to use file(GLOB to assemble lists of sources - not to do so is certainly one
of the more frequent repeated responses.  It seems that it would be prudent to
add a warning to the help text stating that it shouldn't be used for this
purpose and a brief explanation why (CMake can't automatically tell when you
have added/removed a file in the directory).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-16 14:15 Ryan Pavlik    New Issue                                    
======================================================================




More information about the cmake-developers mailing list