summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2020-02-07 19:18:54 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2020-02-07 19:18:54 (GMT)
commit67102d3252f744987762ae19c4bfffeb11cdd46e (patch)
tree90714a5acbd052779b36cf56940ebf2032068bbf /Source/cmGlobalNinjaGenerator.h
parentad17c37d345cd143a131e4b5f26196e0e749ec0e (diff)
downloadCMake-67102d3252f744987762ae19c4bfffeb11cdd46e.zip
CMake-67102d3252f744987762ae19c4bfffeb11cdd46e.tar.gz
CMake-67102d3252f744987762ae19c4bfffeb11cdd46e.tar.bz2
Ninja Multi-Config: Add support for DEPFILE option in add_custom_command()
And give other generators a path forward to add support in the future.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index 0e53c0e..a59859e 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -211,6 +211,8 @@ public:
}
const char* GetCleanTargetName() const override { return "clean"; }
+ bool SupportsCustomCommandDepfile() const override { return true; }
+
virtual cmGeneratedFileStream* GetImplFileStream(
const std::string& /*config*/) const
{