summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-07-24 14:00:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-07-24 14:00:30 (GMT)
commit077691942a778516e6d88051d8f5d691ee037b33 (patch)
treeee2968fd216b2fd9624771fded936d07e11d1d4f /Help/manual
parent70b4966c01ced74455cd38015fe2294fd762d6c0 (diff)
parentc55239e2861151eb16c1fb90258b50c07952fb4f (diff)
downloadCMake-077691942a778516e6d88051d8f5d691ee037b33.zip
CMake-077691942a778516e6d88051d8f5d691ee037b33.tar.gz
CMake-077691942a778516e6d88051d8f5d691ee037b33.tar.bz2
Merge topic 'cmake-list-cached-variables'
c55239e286 cmake: Add flag to list cache entries matching a regex Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9644
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake.1.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index b1cd381..a37635e 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -232,6 +232,17 @@ Options
will display also advanced variables. If ``H`` is specified, it will also
display help for each variable.
+.. option:: -LR[A][H] <regex>
+
+ .. versionadded:: 3.31
+
+ Show specific non-advanced cached variables
+
+ Show non-``INTERNAL`` nor :prop_cache:`ADVANCED` variables from the CMake
+ ``CACHE`` that match the given regex. If ``A`` is specified, then it
+ will also show advanced variables. If ``H`` is specified, it will also
+ display help for each variable.
+
.. option:: -N
View mode only.