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 <[email protected]> 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 >
_______________________________________________ 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
