diff options
author | Brad King <brad.king@kitware.com> | 2022-03-21 15:09:23 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-22 09:27:47 -0400 |
commit | 9f1471739d83c9e61b6700a0c369b7f7bbb19071 (patch) | |
tree | 2fb485885eb07f35342bc17485d27946bc819f92 /Source/cmake.h | |
parent | 7e642a6fa0884cf683a1a50dd5cab93acd1e3950 (diff) | |
download | cmake-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.h | 1 |
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; |