mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-25 01:28:50 -05: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:
+839
-871
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.
|
Get a specific component of a full filename.
|
||||||
|
|
||||||
.. versionchanged:: 3.20
|
.. versionchanged:: 3.20
|
||||||
This command has been superseded by :command:`cmake_path` command, except
|
This command has been superseded by the :command:`cmake_path` command, except
|
||||||
``REALPATH`` now offered by :ref:`file(REAL_PATH)<REAL_PATH>` command and
|
for ``REALPATH``, which is now offered by :command:`file(REAL_PATH)`, and
|
||||||
``PROGRAM`` now available in :command:`separate_arguments(PROGRAM)` command.
|
``PROGRAM``, now available in :command:`separate_arguments(PROGRAM)`.
|
||||||
|
|
||||||
.. versionchanged:: 3.24
|
.. versionchanged:: 3.24
|
||||||
The undocumented feature offering the capability to query the ``Windows``
|
The undocumented feature offering the capability to query the ``Windows``
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Synopsis
|
|||||||
string(`COMPARE`_ <op> <string1> <string2> <out-var>)
|
string(`COMPARE`_ <op> <string1> <string2> <out-var>)
|
||||||
|
|
||||||
`Hashing`_
|
`Hashing`_
|
||||||
string(`\<HASH\> <HASH_>`_ <out-var> <input>)
|
string(`\<HASH\>`_ <out-var> <input>)
|
||||||
|
|
||||||
`Generation`_
|
`Generation`_
|
||||||
string(`ASCII`_ <number>... <out-var>)
|
string(`ASCII`_ <number>... <out-var>)
|
||||||
@@ -299,7 +299,7 @@ Hashing
|
|||||||
|
|
||||||
.. signature::
|
.. signature::
|
||||||
string(<HASH> <output_variable> <input>)
|
string(<HASH> <output_variable> <input>)
|
||||||
:target: HASH
|
:target: <HASH>
|
||||||
|
|
||||||
Compute a cryptographic hash of the ``<input>`` string.
|
Compute a cryptographic hash of the ``<input>`` string.
|
||||||
The supported ``<HASH>`` algorithm names are:
|
The supported ``<HASH>`` algorithm names are:
|
||||||
|
|||||||
Reference in New Issue
Block a user