[CMake] "Copy if Different" question

Michael Jackson mike.jackson at bluequartz.net
Mon Nov 23 09:49:53 EST 2009


if I have the following code:

EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND}
   -E copy_if_different ${TEMP_CONFIG_FILE} ${HDF5_BINARY_DIR}/ 
H5pubconf.h)

How exactly is "Different" determined? By date modified, by content,  
by some sort of hash?
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



More information about the CMake mailing list