summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-21 19:09:23 (GMT)
committerBrad King <brad.king@kitware.com>2022-03-22 13:27:47 (GMT)
commit9f1471739d83c9e61b6700a0c369b7f7bbb19071 (patch)
tree2fb485885eb07f35342bc17485d27946bc819f92 /Source/cmake.h
parent7e642a6fa0884cf683a1a50dd5cab93acd1e3950 (diff)
downloadCMake-9f1471739d83c9e61b6700a0c369b7f7bbb19071.zip
CMake-9f1471739d83c9e61b6700a0c369b7f7bbb19071.tar.gz
CMake-9f1471739d83c9e61b6700a0c369b7f7bbb19071.tar.bz2
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 3c2a36c..c2bbff7 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;