[CMake] detecting a directory or filename
Bradley Lowekamp
blowekamp at mail.nih.gov
Thu Aug 11 14:42:03 EDT 2005
hello,
I am doing some globing in a directory and but I only want the
directories not files. The list could easily be changed after the
globing. But I can't seem to find any methods to detect if a given
string is a file or a directory. I do see the "IF(EXISTS ...)"
function, but no "IF(IS_DIRECTORY ...) kinda thing.
thanks,
Brad
========================================================
Bradley Lowekamp
Management Systems Designers Contractor for
Office of High Performance Computing and Communications
National Library of Medicine
'blowekamp at mail.nih.gov
More information about the CMake
mailing list