Yes i read this<br>but i want to test if is a directory no a directory or a file<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Jan 31, 2008 7:04 PM, James Bigler &lt;<a href="mailto:bigler@cs.utah.edu" target="_blank">bigler@cs.utah.edu</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">&nbsp;From the man page:<br><br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF(EXISTS file-name)<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; IF(EXISTS directory-name)<br>

<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; True &nbsp;if &nbsp;the &nbsp;named file or directory exists. &nbsp;Behavior is<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; well-defined only for full paths.<br><div><br><br>pepone.onrez wrote:<br>&gt; There is any way for check if a directory exists using CMake ?<br>

&gt;<br>&gt; Thanks<br>&gt;<br>&gt;<br>&gt;<br></div>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; _______________________________________________<br>&gt; CMake mailing list<br>

&gt; <a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br>&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>_______________________________________________<br>

CMake mailing list<br><a href="mailto:CMake@cmake.org" target="_blank">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote>
</div><br>
</div></div></blockquote></div><br>