diff options
author | Brad King <brad.king@kitware.com> | 2014-06-24 15:40:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-24 17:18:20 (GMT) |
commit | d19b64d671e9f1e706218bd0acc6a727e7114158 (patch) | |
tree | 80d62ad1ce7000c1adb185e90b45794257828bef /Help | |
parent | c9568de52c4e11c04a9f758ea9ecc1e72ea7cbfb (diff) | |
download | CMake-d19b64d671e9f1e706218bd0acc6a727e7114158.zip CMake-d19b64d671e9f1e706218bd0acc6a727e7114158.tar.gz CMake-d19b64d671e9f1e706218bd0acc6a727e7114158.tar.bz2 |
install(DIRECTORY): Add MESSAGE_NEVER option to avoid output (#13761)
Installing large directories, e.g., the output of a doxygen run, prints
one line per file resulting in too much noise in the build output. Add
an option to the install(DIRECTORY) command to not print anything upon
make install.
Extend the RunCMake.install test with cases covering MESSAGE_NEVER
behavior of the install(DIRECTORY) command.
Suggested-by: Stefan Eilemann <Stefan.Eilemann@epfl.ch>
Diffstat (limited to 'Help')
-rw-r--r-- | Help/command/install.rst | 4 | ||||
-rw-r--r-- | Help/release/dev/install-messages.rst | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Help/command/install.rst b/Help/command/install.rst index 00f722b..4c52abf 100644 --- a/Help/command/install.rst +++ b/Help/command/install.rst @@ -196,7 +196,7 @@ Installing Directories install(DIRECTORY dirs... DESTINATION <dir> [FILE_PERMISSIONS permissions...] [DIRECTORY_PERMISSIONS permissions...] - [USE_SOURCE_PERMISSIONS] [OPTIONAL] + [USE_SOURCE_PERMISSIONS] [OPTIONAL] [MESSAGE_NEVER] [CONFIGURATIONS [Debug|Release|...]] [COMPONENT <component>] [FILES_MATCHING] [[PATTERN <pattern> | REGEX <regex>] @@ -219,6 +219,8 @@ permissions specified in the ``FILES`` form of the command, and the directories will be given the default permissions specified in the ``PROGRAMS`` form of the command. +The ``MESSAGE_NEVER`` option disables file installation status output. + Installation of directories may be controlled with fine granularity using the ``PATTERN`` or ``REGEX`` options. These "match" options specify a globbing pattern or regular expression to match directories or files diff --git a/Help/release/dev/install-messages.rst b/Help/release/dev/install-messages.rst index c8aa456..e023ef7 100644 --- a/Help/release/dev/install-messages.rst +++ b/Help/release/dev/install-messages.rst @@ -1,5 +1,8 @@ install-messages ---------------- +* The :command:`install` command learned a ``MESSAGE_NEVER`` option + to avoid output during installation. + * The :variable:`CMAKE_INSTALL_MESSAGE` variable was introduced to optionally reduce output installation. |