Re: [cmake-developers] file glob and glob recurse directory listing difference
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 that it can always be explicitly specified. Thanks, -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers
[cmake-developers] file glob and glob recurse directory listing difference
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 policy. My question is may I use/define the next available policy number for that? 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. Thanks, Domen -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers