[CMake] Check directory exists
pepone.onrez
pepone.onrez at gmail.com
Thu Jan 31 13:09:11 EST 2008
Yes i read this
but i want to test if is a directory no a directory or a file
>
>
>
> On Jan 31, 2008 7:04 PM, James Bigler <bigler at cs.utah.edu> wrote:
>
> > 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
> > _______________________________________________
> > CMake mailing list
> > CMake at cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080131/e90e3c06/attachment.htm
More information about the CMake
mailing list