summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-01-10 18:30:27 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-01-10 18:30:35 (GMT)
commit2ee6baef4fdb2ace515b3c6032f3a1c35173aedc (patch)
treeca75e69c7c3245e9e7429febdec55ca3b742689b /Source/cmGlobalNinjaGenerator.h
parentd76e4c147a9b0e7e9a6222c9192143b5559d1b23 (diff)
parentfb18215904e8297a7a7cb449fc60bacf72cb89d0 (diff)
downloadCMake-2ee6baef4fdb2ace515b3c6032f3a1c35173aedc.zip
CMake-2ee6baef4fdb2ace515b3c6032f3a1c35173aedc.tar.gz
CMake-2ee6baef4fdb2ace515b3c6032f3a1c35173aedc.tar.bz2
Merge topic 'ninja-postgen-commands'
fb18215904 Ninja: clean ninja metadata once generated Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jan Niklas Hasse <jhasse@bixense.com> Merge-request: !3316
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 2115042..fdd9dda 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -349,6 +349,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;
@@ -489,6 +495,9 @@ private:
bool NinjaSupportsManifestRestat = false;
bool NinjaSupportsMultilineDepfile = false;
bool NinjaSupportsDyndeps = false;
+ bool NinjaSupportsRestatTool = false;
+ bool NinjaSupportsUnconditionalRecompactTool = false;
+ bool NinjaSupportsCleanDeadTool = false;
private:
void InitOutputPathPrefix();