[CMake] Check directory exists

James Bigler bigler at cs.utah.edu
Thu Jan 31 13:04:13 EST 2008


 From the man page:

                 IF(EXISTS file-name)
                 IF(EXISTS directory-name)

               True  if  the  named file or directory exists.  Behavior is
               well-defined only for full paths.


pepone.onrez wrote:
> There is any way for check if a directory exists using CMake ?
> 
> Thanks
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list