summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-05-12 13:12:46 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-05-12 13:12:46 (GMT)
commit733ca510a636aeadd84df761bb3844c473f71ab0 (patch)
tree8400b2785be1b0ca41c5394045c7f4e05fe37f21 /Help
parent55fe56444f134e676a0b9a54d72dbdb85b573a49 (diff)
parentf39d26caa77525ee12b8f5fcb4932ebb642c970f (diff)
downloadCMake-733ca510a636aeadd84df761bb3844c473f71ab0.zip
CMake-733ca510a636aeadd84df761bb3844c473f71ab0.tar.gz
CMake-733ca510a636aeadd84df761bb3844c473f71ab0.tar.bz2
Merge topic 'doc-file-COPY-preserves-structure'
f39d26ca Help: Clarify file(COPY) directory semantics (#15561)
Diffstat (limited to 'Help')
-rw-r--r--Help/command/file.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Help/command/file.rst b/Help/command/file.rst
index 2fe7414..bbddd40 100644
--- a/Help/command/file.rst
+++ b/Help/command/file.rst
@@ -313,8 +313,12 @@ preserves input file timestamps, and optimizes out a file if it exists
at the destination with the same timestamp. Copying preserves input
permissions unless explicit permissions or ``NO_SOURCE_PERMISSIONS``
are given (default is ``USE_SOURCE_PERMISSIONS``).
+
See the :command:`install(DIRECTORY)` command for documentation of
-permissions, ``PATTERN``, ``REGEX``, and ``EXCLUDE`` options.
+permissions, ``FILES_MATCHING``, ``PATTERN``, ``REGEX``, and
+``EXCLUDE`` options. Copying directories preserves the structure
+of their content even if options are used to select a subset of
+files.
The ``INSTALL`` signature differs slightly from ``COPY``: it prints
status messages (subject to the :variable:`CMAKE_INSTALL_MESSAGE` variable),