diff options
author | Bartosz Kosiorek <bartosz.kosiorek@tomtom.com> | 2015-12-03 20:29:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-04 15:26:34 (GMT) |
commit | 384ae5514e423fccb02e48a4da25e1549556d898 (patch) | |
tree | e98d13fb00bfeb3de16b3b01f25d097da249f194 /Help/manual/cmake.1.rst | |
parent | 0be5020bf814efd040f7dcd35cc3a9f07d113458 (diff) | |
download | CMake-384ae5514e423fccb02e48a4da25e1549556d898.zip CMake-384ae5514e423fccb02e48a4da25e1549556d898.tar.gz CMake-384ae5514e423fccb02e48a4da25e1549556d898.tar.bz2 |
cmake: Teach -E copy[_if_different] to support multiple files (#15703)
If multiple input files are provided then the destination must be a
directory. If only one input file is provided then destination may be
either a file or directory.
Diffstat (limited to 'Help/manual/cmake.1.rst')
-rw-r--r-- | Help/manual/cmake.1.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 3bfab7b..086f259 100644 --- a/Help/manual/cmake.1.rst +++ b/Help/manual/cmake.1.rst @@ -169,14 +169,14 @@ Available commands are: ``compare_files <file1> <file2>`` Check if file1 is same as file2. -``copy <file> <destination>`` - Copy file to destination (either file or directory). +``copy <file>... <destination>`` + Copy files to 'destination' (either file or directory). ``copy_directory <source> <destination>`` Copy directory 'source' content to directory 'destination'. -``copy_if_different <in-file> <out-file>`` - Copy file if input has changed. +``copy_if_different <file>... <destination>`` + Copy files if input has changed. Destination could be file or directory. ``echo [<string>...]`` Displays arguments as text. |