diff --git a/Help/command/cmake_host_system_information.rst b/Help/command/cmake_host_system_information.rst index 4e72749803..75ca75b44e 100644 --- a/Help/command/cmake_host_system_information.rst +++ b/Help/command/cmake_host_system_information.rst @@ -9,17 +9,18 @@ Synopsis .. parsed-literal:: `Query host system specific information`_ - cmake_host_system_information(RESULT QUERY ...) + cmake_host_system_information(RESULT `QUERY`_ ...) - `Query Windows registry`_ - cmake_host_system_information(RESULT QUERY WINDOWS_REGISTRY ...) + `Query the Windows registry`_ + cmake_host_system_information(RESULT `QUERY WINDOWS_REGISTRY`_ ...) Query host system specific information ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -.. code-block:: cmake - +.. signature:: cmake_host_system_information(RESULT QUERY ...) + :target: + QUERY Queries system information of the host system on which cmake runs. One or more ```` can be provided to select the information to be @@ -290,20 +291,19 @@ system information: .. _man 5 os-release: https://www.freedesktop.org/software/systemd/man/latest/os-release.html .. _various distribution-specific files: http://linuxmafia.com/faq/Admin/release-files.html -.. _Query Windows registry: - -Query Windows registry -^^^^^^^^^^^^^^^^^^^^^^ +Query the Windows registry +^^^^^^^^^^^^^^^^^^^^^^^^^^ .. versionadded:: 3.24 -.. code-block:: cmake - +.. signature:: cmake_host_system_information(RESULT QUERY WINDOWS_REGISTRY [VALUE_NAMES|SUBKEYS|VALUE ] [VIEW (64|32|64_32|32_64|HOST|TARGET|BOTH)] [SEPARATOR ] [ERROR_VARIABLE ]) + :target: + QUERY WINDOWS_REGISTRY Performs query operations on local computer registry subkey. Returns a list of subkeys or value names that are located under the specified subkey in the diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst index 87ed6bce22..2bdad98dfd 100644 --- a/Help/command/get_filename_component.rst +++ b/Help/command/get_filename_component.rst @@ -10,9 +10,8 @@ Get a specific component of a full filename. .. versionchanged:: 3.24 The undocumented feature offering the capability to query the ``Windows`` - registry is superseded by - :ref:`cmake_host_system_information(QUERY WINDOWS_REGISTRY)` - command. + registry is superseded by the + :command:`cmake_host_system_information(QUERY WINDOWS_REGISTRY)` command. .. code-block:: cmake diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst index 86f135d4e1..f43b025c7f 100644 --- a/Help/manual/cmake-developer.7.rst +++ b/Help/manual/cmake-developer.7.rst @@ -29,9 +29,9 @@ Query Windows Registry .. versionadded:: 3.24 The :command:`cmake_host_system_information` command offers the possibility to -query the registry on the local computer. See -:ref:`cmake_host_system(QUERY_WINDOWS_REGISTRY) ` for -more information. +query the registry on the local computer. See the +:command:`cmake_host_system_information(QUERY WINDOWS_REGISTRY)` sub-command +for more information. .. _`Find Using Windows Registry`: diff --git a/Help/release/3.24.rst b/Help/release/3.24.rst index e7ddf2ad9d..56342c038e 100644 --- a/Help/release/3.24.rst +++ b/Help/release/3.24.rst @@ -85,7 +85,8 @@ Commands * The :command:`cmake_host_system_information` command, on Windows, gained a ``QUERY WINDOWS_REGISTRY`` mode. - See its :ref:`Query Windows registry` section. + See its :command:`cmake_host_system_information(QUERY WINDOWS_REGISTRY)` + signature. * The :command:`cmake_language` command gained a new ``SET_DEPENDENCY_PROVIDER`` sub-command. When a dependency provider is set,