[CMake] different behaviour between file GLOB and GLOB_RECURSE
Domen Vrankar
domen.vrankar at gmail.com
Fri Jan 16 16:33:55 EST 2015
Hi all,
I wanted to glob recursively for all files and directories and noticed
a difference in behaviour between the recursive and non recursive
version - recursive version doesn't list directories (I am using
latest version from git master - 3.1.2...).
I also noticed that documentation for file(GLOB ...) and
file(GLOB_RECURSE ...) is only mentioning listing of files but with
GLOB you can list directories as well.
Is the difference between the two by design or a bug?
Thanks,
Domen
More information about the CMake
mailing list