From 9f1471739d83c9e61b6700a0c369b7f7bbb19071 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 21 Mar 2022 15:09:23 -0400 Subject: 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 --- Source/cmake.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Source/cmake.h') 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 FileTimeCache; std::string GraphVizFile; -- cgit v1.2.1