diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-02 21:35:40 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-13 14:19:46 (GMT) |
commit | 146e1e6ba14d964bf120635aca953cc76e5b2282 (patch) | |
tree | e8fd8309f7288a275322dcbc14a8ee99370aba4b /Source/cmGlobalNinjaGenerator.h | |
parent | 596439b1bbac44b4218f65615d93e9fe9bd43922 (diff) | |
download | CMake-146e1e6ba14d964bf120635aca953cc76e5b2282.zip CMake-146e1e6ba14d964bf120635aca953cc76e5b2282.tar.gz CMake-146e1e6ba14d964bf120635aca953cc76e5b2282.tar.bz2 |
Ninja: Transform DEPFILEs with policy CMP0116
Fixes: #21267
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 884a711..ec001d3 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -24,6 +24,7 @@ #include "cmNinjaTypes.h" #include "cmPolicies.h" #include "cmStringAlgorithms.h" +#include "cmTransformDepfile.h" class cmCustomCommand; class cmGeneratorTarget; @@ -211,6 +212,10 @@ public: const char* GetCleanTargetName() const override { return "clean"; } bool SupportsCustomCommandDepfile() const override { return true; } + cm::optional<cmDepfileFormat> DepfileFormat() const override + { + return cmDepfileFormat::GccDepfile; + } virtual cmGeneratedFileStream* GetImplFileStream( const std::string& /*config*/) const |