David Cole skrev 2011-02-09 16:32:

You can iterate the returned list something like this to accumulate just 
directory names:

set(dirs "")
foreach(f ${glob_results})
   if(IS_DIRECTORY "${f}")
     set(dirs ${dirs} ${f})
   endif()
endforeach()

Yes, not bad. Good idea, thnx.

/Rob
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to