mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Merge topic 'cmake-E-copy-multiple-inputs'
bc35087dcmake: Teach -E copy_directory to support multiple input directories98be140fcmake: Refine -E copy[_if_different] documentation93cc80aecmake: Refine -E copy_if_different implementation indentation0903812bcmake: Refine -E chdir documentation
This commit is contained in:
+10
-4
@@ -170,13 +170,19 @@ Available commands are:
|
||||
Check if file1 is same as file2.
|
||||
|
||||
``copy <file>... <destination>``
|
||||
Copy files to 'destination' (either file or directory).
|
||||
Copy files to ``<destination>`` (either file or directory).
|
||||
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 if input has changed. Destination could be file or directory.
|
||||
Copy files to ``<destination>`` (either file or directory) if
|
||||
they have changed.
|
||||
If multiple files are specified, the ``<destination>`` must be
|
||||
directory and it must exist.
|
||||
|
||||
``echo [<string>...]``
|
||||
Displays arguments as text.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user