cmake-copy-if-newerΒΆ
The
cmake(1)
command-line tool now supportscmake -E copy_if_newer
andcmake -E copy_directory_if_newer
subcommands to copy files based on timestamp comparison instead of content comparison. These commands copy files only if the source is newer than the destination, providing better performance for build systems compared tocopy_if_different
which compares file contents.