summaryrefslogtreecommitdiff
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-21 15:09:23 -0400
committerBrad King <brad.king@kitware.com>2022-03-22 09:27:47 -0400
commit9f1471739d83c9e61b6700a0c369b7f7bbb19071 (patch)
tree2fb485885eb07f35342bc17485d27946bc819f92 /Source/cmake.h
parent7e642a6fa0884cf683a1a50dd5cab93acd1e3950 (diff)
downloadcmake-9f1471739d83c9e61b6700a0c369b7f7bbb19071.tar.gz
cmake: Add --fresh option to clear the cache and start from scratch
Simplify the workflow to re-run CMake from scratch as if a build tree were never before processed, regardless of whether it has been. Fixes: #23119
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 3c2a36c610..c2bbff7b41 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -703,6 +703,7 @@ private:
FileExtensions HipFileExtensions;
bool ClearBuildSystem = false;
bool DebugTryCompile = false;
+ bool FreshCache = false;
bool RegenerateDuringBuild = false;
std::unique_ptr<cmFileTimeCache> FileTimeCache;
std::string GraphVizFile;