summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2019-05-13 14:52:05 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-01-06 16:57:08 (GMT)
commitfb18215904e8297a7a7cb449fc60bacf72cb89d0 (patch)
tree0e76c8c750887b5fdb1b21299dc5b27db3bc4c86 /Source/cmGlobalNinjaGenerator.h
parentb67c53dddfcf956f4d55cbdc0f4e7705f62e805b (diff)
downloadCMake-fb18215904e8297a7a7cb449fc60bacf72cb89d0.zip
CMake-fb18215904e8297a7a7cb449fc60bacf72cb89d0.tar.gz
CMake-fb18215904e8297a7a7cb449fc60bacf72cb89d0.tar.bz2
Ninja: clean ninja metadata once generated
Fixes: #15830
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 20e2c8e..8691bd7 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -348,6 +348,12 @@ public:
return "1.9";
}
static std::string RequiredNinjaVersionForDyndeps() { return "1.10"; }
+ static std::string RequiredNinjaVersionForRestatTool() { return "1.10"; }
+ static std::string RequiredNinjaVersionForUnconditionalRecompactTool()
+ {
+ return "1.10";
+ }
+ static std::string RequiredNinjaVersionForCleanDeadTool() { return "1.10"; }
bool SupportsConsolePool() const;
bool SupportsImplicitOuts() const;
bool SupportsManifestRestat() const;
@@ -488,6 +494,9 @@ private:
bool NinjaSupportsManifestRestat = false;
bool NinjaSupportsMultilineDepfile = false;
bool NinjaSupportsDyndeps = false;
+ bool NinjaSupportsRestatTool = false;
+ bool NinjaSupportsUnconditionalRecompactTool = false;
+ bool NinjaSupportsCleanDeadTool = false;
private:
void InitOutputPathPrefix();