Re: [cmake-developers] file glob and glob recurse directory listing difference

2015-03-17 Thread Brad King
On 03/15/2015 06:37 PM, Domen Vrankar wrote: Alternative would be to define LIST_DIRECTORIES for GLOB_RECURSE only and preserve back compatibility that way - maybe also define NO_DIRECTORY_LISTING for GLOB just for the sake of consistency. Let's just define both options for both commands so

[cmake-developers] file glob and glob recurse directory listing difference

2015-03-15 Thread Domen Vrankar
Hi all, I'm working on a patch to enable directory listing in file(GLOB_RECURSE...). Currently GLOB lists directories and GLOB_RECURSE doesn't. I was thinking about unifying the two by providing NO_DIRECTORY_LISTING option. Unfortunately this breaks back compatibility so I would need to use a