[cfe-dev] Why copy_if_different?
Yuri Gribov
tetra2005 at googlemail.com
Fri Apr 29 02:09:08 PDT 2011
Hi all,
What is the reason for custom build rules in Visual Studion using
'cmake -E copy_if_different' instead of plain 'cmake -E copy'? If
target file is older than source but contents is the same the source
will not be copied and the timestamp of target will remain the same.
This means that VS will try to rebuild this file (and a dozen of
dependent projects) on every run (I observe this particular behavior
on my system).
--
Best regards,
Yuri
More information about the cfe-dev
mailing list