summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-14 16:24:04 (GMT)
committerSibi Siddharthan <sibisiddharthan.github@gmail.com>2020-07-15 14:52:04 (GMT)
commit2fad00940d7ed3c5928bda5b671bdcf08ce53bb8 (patch)
tree16ed66550694ac2eb00aadfc95098b3c30b8236d /Help
parent2da778664d3e99ada4e67a5a1b9d377f92a9f75f (diff)
downloadCMake-2fad00940d7ed3c5928bda5b671bdcf08ce53bb8.zip
CMake-2fad00940d7ed3c5928bda5b671bdcf08ce53bb8.tar.gz
CMake-2fad00940d7ed3c5928bda5b671bdcf08ce53bb8.tar.bz2
cmake: Add -E create_hardlink
Fixes: #20950 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst7
-rw-r--r--Help/release/dev/cmake-E-create_hardlink.rst5
2 files changed, 12 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index d5fe34c..544f6ea 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -598,6 +598,13 @@ Available commands are:
.. note::
Path to where ``<new>`` symbolic link will be created has to exist beforehand.
+``create_hardlink <old> <new>``
+ Create a hard link ``<new>`` naming ``<old>``.
+
+ .. note::
+ Path to where ``<new>`` hard link will be created has to exist beforehand.
+ ``<old>`` has to exist beforehand.
+
``echo [<string>...]``
Displays arguments as text.
diff --git a/Help/release/dev/cmake-E-create_hardlink.rst b/Help/release/dev/cmake-E-create_hardlink.rst
new file mode 100644
index 0000000..66cdc87
--- /dev/null
+++ b/Help/release/dev/cmake-E-create_hardlink.rst
@@ -0,0 +1,5 @@
+cmake-E-create_hardlink
+-----------------------
+
+* The :manual:`cmake(1)` gained a ``-E create_hardlink`` command-line tool
+ that can be used to create hardlinks between files.