[CMake] file(GLOB) for directories?

David Cole david.cole at kitware.com
Tue Dec 9 13:30:14 EST 2008


"file(GLOB" with globbing expression of "*" and then iterate the results and
ask "if(IS_DIRECTORY" on each result...

On Tue, Dec 9, 2008 at 1:15 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> How would I use file( GLOB ) to get a list of directories instead of files?
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081209/368c2540/attachment.htm>


More information about the CMake mailing list