Hi,
is it possible to list the subdirectories from a given folder?
I use this function but it returns me the file in the current path.
macro(list_subdirectories retval curdir return_relative)
file(GLOB sub-dir RELATIVE ${curdir} *)
set(list_of_dirs )
foreach(dir ${sub-dir})
file(GLOB sub-dirs-of-dir-name ${dir-name}/*)
should return only files within ${dir-name} regardless of the
current working directory.
HTH,
David
On Mon, Jul 25, 2011 at 7:50 AM, Julien Dardenne
julien.darde...@technooliq.com wrote:
Hi,
is it possible to list the subdirectories from a