summaryrefslogtreecommitdiffstats
path: root/Help/command/install.rst
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2018-10-01 20:10:33 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2018-10-01 20:10:33 (GMT)
commitfbd89b6753848f44b6b7179cfc07a619263b070b (patch)
tree43e9e03980b1b8ec4c3053dc7102ea0ebd4ee4ea /Help/command/install.rst
parent17653671e4007004d4d7779b4702c9a85b7d5a65 (diff)
downloadCMake-fbd89b6753848f44b6b7179cfc07a619263b070b.zip
CMake-fbd89b6753848f44b6b7179cfc07a619263b070b.tar.gz
CMake-fbd89b6753848f44b6b7179cfc07a619263b070b.tar.bz2
Help: Add note about CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
Diffstat (limited to 'Help/command/install.rst')
-rw-r--r--Help/command/install.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst
index 3a2b4da..08c5718 100644
--- a/Help/command/install.rst
+++ b/Help/command/install.rst
@@ -89,6 +89,13 @@ Command signatures that install files may print messages during
installation. Use the :variable:`CMAKE_INSTALL_MESSAGE` variable
to control which messages are printed.
+Many of the ``install()`` variants implicitly create the directories
+containing the installed files. If
+:variable:`CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS` is set, these
+directories will be created with the permissions specified. Otherwise,
+they will be created according to the uname rules on Unix-like platforms.
+Windows platforms are unaffected.
+
Installing Targets
^^^^^^^^^^^^^^^^^^