It should as long as both file names are files (as opposed to directories...)<div><br></div><div>Both use SystemTools::FilesDiffer to determine the difference status.</div><div><br></div><div><br></div><div>HTH,</div><div>
David</div><div><br><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 6:32 PM, James Bigler <span dir="ltr">&lt;<a href="mailto:jamesbigler@gmail.com">jamesbigler@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Could someone tell me if the logic behind compare_files and<br>
copy_if_different are the same when using cmake -E?<br>
<br>
I want to test if the copy_if_different will actually make the copy when issued.<br>
<br>
Thanks,<br>
James<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<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>