[CMake] FILE GLOB results...

Brad King brad.king at kitware.com
Thu Mar 16 10:58:58 EST 2006


David Cole wrote:
> Are
> FILE(GLOB var "*.txt")
> results guaranteed to be sorted alphabetically? Or is that just 
> happening by happy accident for me...?

There is nothing in the implementation to my knowledge that guarantees 
any kind of order.  If the files came from a CVS checkout then they are 
probably in order in the directory structure.

-Brad


More information about the CMake mailing list