[Cmake] RE: Set a variable to a list of filenames that match a pattern

Andy Cedilnik andy . cedilnik at kitware . com
23 Jul 2003 10:26:35 -0400


Hi David,

The cmSystemTools::Glob is old and only patially works, so it will be
eventually replaced with the new cmGlob.

			Andy

On Wed, 2003-07-23 at 10:19, Karr, David wrote:
> > Since Glob assembles the
> > filenames without any path information in a single string
> > (with semicolons between filenames), I expand the string to
> > a vector,
> 
> Aaargh!  What I wrote above is incorrect; I was thinking
> about an implementation detail of an entirely different
> feature that I worked on concurrently.
> 
> cmSystemTools::Glob produces a vector of strings, so my 
> subsequent code (relating to the subject line of this
> message) simply uses that vector.
> 
> Sorry for any confusion this might have caused.