diff options
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake.1.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index dc51383..9f77562 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -876,6 +876,16 @@ Available commands are: The command now fails when the source directory does not exist. Previously it succeeded by creating an empty destination directory. +.. option:: copy_directory_if_different <dir>... <destination> + + .. versionadded:: 3.26 + + Copy changed content of ``<dir>...`` directories to ``<destination>`` directory. + If ``<destination>`` directory does not exist it will be created. + + ``copy_directory_if_different`` does follow symlinks. + The command fails when the source directory does not exist. + .. option:: copy_if_different <file>... <destination> Copy files to ``<destination>`` (either file or directory) if |