summaryrefslogtreecommitdiffstats
path: root/Help/command
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-05-04 15:10:05 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-05-04 15:10:12 (GMT)
commitbdaa4b845961e38c65739e6f451adefde9213f43 (patch)
tree2b0317a18042f394ba1903d9a439446329f6f534 /Help/command
parent8aff3e41a81efc84f6d50ab0936125e464ed324c (diff)
parent0c33f12a39d88649f553d517392bb55f3007ab52 (diff)
downloadCMake-bdaa4b845961e38c65739e6f451adefde9213f43.zip
CMake-bdaa4b845961e38c65739e6f451adefde9213f43.tar.gz
CMake-bdaa4b845961e38c65739e6f451adefde9213f43.tar.bz2
Merge topic 'chsi-windows_registry-updates'
0c33f12a39 cmake_host_system_information(WINDOWS_REGISTRY) updates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7229
Diffstat (limited to 'Help/command')
-rw-r--r--Help/command/cmake_host_system_information.rst2
-rw-r--r--Help/command/get_filename_component.rst10
2 files changed, 10 insertions, 2 deletions
diff --git a/Help/command/cmake_host_system_information.rst b/Help/command/cmake_host_system_information.rst
index f47615a..c84c5b5 100644
--- a/Help/command/cmake_host_system_information.rst
+++ b/Help/command/cmake_host_system_information.rst
@@ -261,6 +261,8 @@ Example:
.. _man 5 os-release: https://www.freedesktop.org/software/systemd/man/os-release.html
.. _various distribution-specific files: http://linuxmafia.com/faq/Admin/release-files.html
+.. _Query Windows registry:
+
Query Windows registry
^^^^^^^^^^^^^^^^^^^^^^
diff --git a/Help/command/get_filename_component.rst b/Help/command/get_filename_component.rst
index 4bdd388..4bfe087 100644
--- a/Help/command/get_filename_component.rst
+++ b/Help/command/get_filename_component.rst
@@ -4,10 +4,16 @@ get_filename_component
Get a specific component of a full filename.
.. versionchanged:: 3.20
- This command been superseded by :command:`cmake_path` command, except
- ``REALPATH`` now offered by :ref:`file(REAL_PATH) <REAL_PATH>` command and
+ 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.
+.. 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)<Query Windows registry>`
+ command.
+
.. code-block:: cmake
get_filename_component(<var> <FileName> <mode> [CACHE])