cmake: Teach -E copy_directory to support multiple input directories

This commit is contained in:
Bartosz Kosiorek
2015-12-06 20:30:44 +01:00
committed by Brad King
parent 98be140fc0
commit bc35087da3
13 changed files with 44 additions and 11 deletions
+3 -2
View File
@@ -174,8 +174,9 @@ Available commands are:
If multiple files are specified, the ``<destination>`` must be
directory and it must exist.
``copy_directory <source> <destination>``
Copy directory 'source' content to directory 'destination'.
``copy_directory <dir>... <destination>``
Copy directories to ``<destination>`` directory.
If ``<destination>`` directory does not exist it will be created.
``copy_if_different <file>... <destination>``
Copy files to ``<destination>`` (either file or directory) if
@@ -3,3 +3,6 @@ cmake-E-copy-multiple-inputs
* The :manual:`cmake(1)` ``-E copy`` and ``-E copy_if_different`` command-line
tools learned to support copying multiple input files to a directory.
* The :manual:`cmake(1)` ``-E copy_directory`` command-line
tool learned to support copying multiple input directories to a directory.