[CMake] Problems globbing directory by FILE(GLOB_RECURSE)

2009-02-04 Thread Ashutosh Juneja
Hi, I want to glob directories from a specified location, but unable to do so. My purpose is to run cmake and generate CTestTestfile.cmake in binary tree having multiple ADD_TEST commands. i.e. I want to extract directories ABC and DEF from an area listed below: /path/to/some/area/ABC

Re: [CMake] Problems globbing directory by FILE(GLOB_RECURSE)

2009-02-04 Thread David Cole
Did you try: FILE (GLOB_RECURSE item /path/to/some/area/*) (Note the /* on the end of the globbing expression...) On Wed, Feb 4, 2009 at 6:28 AM, Ashutosh Juneja ashutosh.jun...@gmail.comwrote: Hi, I want to glob directories from a specified location, but unable to do so. My purpose is to