summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-25 13:09:49 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-25 13:09:56 (GMT)
commit96420a4afdd1467e05384dd8ba83e73154388fb7 (patch)
tree6f3623d7aae57421acb1f7495abd829f77f901cf /Help
parentb11d789ef7341ca717949a4e47f14e75fe41a4c2 (diff)
parent9f1471739d83c9e61b6700a0c369b7f7bbb19071 (diff)
downloadCMake-96420a4afdd1467e05384dd8ba83e73154388fb7.zip
CMake-96420a4afdd1467e05384dd8ba83e73154388fb7.tar.gz
CMake-96420a4afdd1467e05384dd8ba83e73154388fb7.tar.bz2
Merge topic 'cmake-fresh'
9f1471739d cmake: Add --fresh option to clear the cache and start from scratch Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7099
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/cmake.1.rst7
-rw-r--r--Help/release/dev/cmake-fresh.rst5
2 files changed, 12 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 3febc9e..3ef7b3f 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -197,6 +197,13 @@ Options
.. include:: OPTIONS_BUILD.txt
+``--fresh``
+ .. versionadded:: 3.24
+
+ Perform a fresh configuration of the build tree.
+ This removes any existing ``CMakeCache.txt`` file and associated
+ ``CMakeFiles/`` directory, and recreates them from scratch.
+
``-L[A][H]``
List non-advanced cached variables.
diff --git a/Help/release/dev/cmake-fresh.rst b/Help/release/dev/cmake-fresh.rst
new file mode 100644
index 0000000..6de5b4e
--- /dev/null
+++ b/Help/release/dev/cmake-fresh.rst
@@ -0,0 +1,5 @@
+cmake-fresh
+-----------
+
+* :manual:`cmake(1)` gained the ``--fresh`` command-line option to remove
+ any existing ``CMakeCache.txt`` when configuring a build tree.