فهرست منبع

Merge topic 'doc-remove_directory-symlink'

3beb2c440b cmake: Document -E remove_directory symlink behavior

Acked-by: Kitware Robot <[email protected]>
Merge-request: !3784
Brad King 6 سال پیش
والد
کامیت
6db8f6a410
2فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 2 1
      Help/manual/cmake.1.rst
  2. 6 0
      Help/release/dev/remove_directory-symlink.rst

+ 2 - 1
Help/manual/cmake.1.rst

@@ -536,7 +536,8 @@ Available commands are:
 
 ``remove_directory <dir>...``
   Remove ``<dir>`` directories and their contents.  If a directory does
-  not exist it will be silently ignored.
+  not exist it will be silently ignored.  If ``<dir>`` is a symlink to
+  a directory, just the symlink will be removed.
 
 ``rename <oldname> <newname>``
   Rename a file or directory (on one volume). If file with the ``<newname>`` name

+ 6 - 0
Help/release/dev/remove_directory-symlink.rst

@@ -0,0 +1,6 @@
+remove_directory-symlink
+------------------------
+
+* The :manual:`cmake(1)` ``-E remove_directory`` command-line tool,
+  when given the path to a symlink to a directory, now removes just
+  the symlink.  It no longer removes content of the linked directory.