[CMake] compare_files and copy_if_different

David Cole david.cole at kitware.com
Tue Mar 24 09:38:58 EDT 2009


It should as long as both file names are files (as opposed to
directories...)
Both use SystemTools::FilesDiffer to determine the difference status.


HTH,
David


On Mon, Mar 23, 2009 at 6:32 PM, James Bigler <jamesbigler at gmail.com> wrote:

> Could someone tell me if the logic behind compare_files and
> copy_if_different are the same when using cmake -E?
>
> I want to test if the copy_if_different will actually make the copy when
> issued.
>
> Thanks,
> James
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090324/d43a8455/attachment.htm>


More information about the CMake mailing list