mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
Help: Convert signatures of file command
Convert `file` command to use new `signature` directive. Use '<HASH>' rather than 'HASH' for relevant signature targets, as this is arguably more correct, results in less need to specify explicit targets, but still produces '#hash' as the HTML anchor. Although actual textual changes to `file` are fairly minimal, large portions of the content have been re-indented and in many cases, re-flowed. Some tabular content in literal text blocks has also been converted to actual tables.
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -4,9 +4,9 @@ get_filename_component
|
||||
Get a specific component of a full filename.
|
||||
|
||||
.. versionchanged:: 3.20
|
||||
This command has been superseded by :command:`cmake_path` command, except
|
||||
``REALPATH`` now offered by :ref:`file(REAL_PATH)<REAL_PATH>` command and
|
||||
``PROGRAM`` now available in :command:`separate_arguments(PROGRAM)` command.
|
||||
This command has been superseded by the :command:`cmake_path` command, except
|
||||
for ``REALPATH``, which is now offered by :command:`file(REAL_PATH)`, and
|
||||
``PROGRAM``, now available in :command:`separate_arguments(PROGRAM)`.
|
||||
|
||||
.. versionchanged:: 3.24
|
||||
The undocumented feature offering the capability to query the ``Windows``
|
||||
|
||||
@@ -32,7 +32,7 @@ Synopsis
|
||||
string(`COMPARE`_ <op> <string1> <string2> <out-var>)
|
||||
|
||||
`Hashing`_
|
||||
string(`\<HASH\> <HASH_>`_ <out-var> <input>)
|
||||
string(`\<HASH\>`_ <out-var> <input>)
|
||||
|
||||
`Generation`_
|
||||
string(`ASCII`_ <number>... <out-var>)
|
||||
@@ -299,7 +299,7 @@ Hashing
|
||||
|
||||
.. signature::
|
||||
string(<HASH> <output_variable> <input>)
|
||||
:target: HASH
|
||||
:target: <HASH>
|
||||
|
||||
Compute a cryptographic hash of the ``<input>`` string.
|
||||
The supported ``<HASH>`` algorithm names are:
|
||||
|
||||
Reference in New Issue
Block a user