summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-12-14 15:06:26 (GMT)
committerBrad King <brad.king@kitware.com>2020-12-14 15:08:14 (GMT)
commit73a961eaba84c622480eff84671c7e3f6a7f61c4 (patch)
treeeec0fec932e1629348ca16239384314f166c1b17 /Source/cmGlobalNinjaGenerator.h
parent566e96d42db35e2c88ceb5d0f3de49736295c496 (diff)
downloadCMake-73a961eaba84c622480eff84671c7e3f6a7f61c4.zip
CMake-73a961eaba84c622480eff84671c7e3f6a7f61c4.tar.gz
CMake-73a961eaba84c622480eff84671c7e3f6a7f61c4.tar.bz2
Ninja: Remove cleandead on regeneration
Remove the `cleandead` tool invocation added by commit fb18215904 (Ninja: clean ninja metadata once generated, 2019-05-13, v3.17.0-rc1~207^2). The tool deletes files that were not previously deleted by regenerating the build system. Also, there are use cases where no-longer-generated files should not be removed, such as Qt's TS files. Fixes: #21549
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 44e632f..8373de3 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -370,7 +370,6 @@ public:
{
return "1.10";
}
- static std::string RequiredNinjaVersionForCleanDeadTool() { return "1.10"; }
bool SupportsConsolePool() const;
bool SupportsImplicitOuts() const;
bool SupportsManifestRestat() const;
@@ -533,7 +532,6 @@ private:
bool NinjaSupportsDyndeps = false;
bool NinjaSupportsRestatTool = false;
bool NinjaSupportsUnconditionalRecompactTool = false;
- bool NinjaSupportsCleanDeadTool = false;
private:
void InitOutputPathPrefix();