summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2021-01-13 14:27:49 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2021-01-13 14:27:49 (GMT)
commit76f0bcdfb6e04f1f6089ea693d69b642bbf26e82 (patch)
tree08ee286265df549fac25cee13c2c590135ecfd8c /Help
parent3ad1ee81445d4ce4388bcde7222a676725aebcd6 (diff)
downloadCMake-76f0bcdfb6e04f1f6089ea693d69b642bbf26e82.zip
CMake-76f0bcdfb6e04f1f6089ea693d69b642bbf26e82.tar.gz
CMake-76f0bcdfb6e04f1f6089ea693d69b642bbf26e82.tar.bz2
cmake_path: various updates
To follow discussions in #21385 and !5682: * Fix bug in cmCMakePath::IsSuffix() method * cmake_path(HASH) always normalized paths (NORMALIZE option removed)
Diffstat (limited to 'Help')
-rw-r--r--Help/command/cmake_path.rst7
1 files changed, 3 insertions, 4 deletions
diff --git a/Help/command/cmake_path.rst b/Help/command/cmake_path.rst
index 2d37ae0..3c9653e 100644
--- a/Help/command/cmake_path.rst
+++ b/Help/command/cmake_path.rst
@@ -156,7 +156,7 @@ Synopsis
cmake_path(`IS_PREFIX`_ <path-var> <input> [NORMALIZE] <out-var>)
`Hashing`_
- cmake_path(`HASH`_ <path-var> [NORMALIZE] <out-var>)
+ cmake_path(`HASH`_ <path-var> <out-var>)
Decomposition
^^^^^^^^^^^^^
@@ -807,11 +807,10 @@ Hashing
.. code-block:: cmake
- cmake_path(HASH <path-var> [NORMALIZE] <out-var>)
+ cmake_path(HASH <path-var> <out-var>)
Compute hash value of ``<path-var>`` such that if for two paths (``p1`` and
``p2``) are equal (:ref:`COMPARE ... EQUAL <COMPARE>`) then hash value of p1 is
equal to hash value of p2.
-When ``NORMALIZE`` option is specified, the paths are :ref:`normalized
-<NORMAL_PATH>` before the check.
+Path is always :ref:`normalized <NORMAL_PATH>` before the hash is computed.