summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorJohn Freeman <jfreeman08@gmail.com>2019-05-31 21:35:41 (GMT)
committerBrad King <brad.king@kitware.com>2019-06-03 18:20:00 (GMT)
commit07a80c70020e0e533db8d75d7fe7c4270cc25afb (patch)
tree71e52d98611f1f1042f976b7cd505f6dd1cf95c2 /Help
parent013bee698e8470169d99e90aa86d5d85693c6b12 (diff)
downloadCMake-07a80c70020e0e533db8d75d7fe7c4270cc25afb.zip
CMake-07a80c70020e0e533db8d75d7fe7c4270cc25afb.tar.gz
CMake-07a80c70020e0e533db8d75d7fe7c4270cc25afb.tar.bz2
cmake: Teach -E remove_directory to remove multiple directories
The `make_directory` command can make multiple directories in a single invocation. Make `remove_directory` mirror that behavior.
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst4
-rw-r--r--Help/release/dev/remove_directories.rst5
2 files changed, 7 insertions, 2 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 107c2cb..f1d02eb 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -514,8 +514,8 @@ Available commands are:
``remove`` does not follow symlinks. That means it remove only symlinks
and not files it point to.
-``remove_directory <dir>``
- Remove a directory and its contents. If a directory does
+``remove_directory <dir>...``
+ Remove ``<dir>`` directories and their contents. If a directory does
not exist it will be silently ignored.
``rename <oldname> <newname>``
diff --git a/Help/release/dev/remove_directories.rst b/Help/release/dev/remove_directories.rst
new file mode 100644
index 0000000..1b16df1
--- /dev/null
+++ b/Help/release/dev/remove_directories.rst
@@ -0,0 +1,5 @@
+remove_directories
+------------------
+
+* The :manual:`cmake(1)` ``-E remove_directory`` command learned to support
+ removing multiple directories.