summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-14 15:49:45 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-10-14 15:49:51 (GMT)
commitc5559597177eabd5620766e9dbc6f02a3b827ddb (patch)
tree8a5a7c2cef60393de936f7fbed63b99bb0139c3a /Source/cmGlobalNinjaGenerator.h
parent609f2a14063c2bd7be416ac363257e616dce6ff2 (diff)
parent146e1e6ba14d964bf120635aca953cc76e5b2282 (diff)
downloadCMake-c5559597177eabd5620766e9dbc6f02a3b827ddb.zip
CMake-c5559597177eabd5620766e9dbc6f02a3b827ddb.tar.gz
CMake-c5559597177eabd5620766e9dbc6f02a3b827ddb.tar.bz2
Merge topic 'ninja-depfile-transformation'
146e1e6ba1 Ninja: Transform DEPFILEs with policy CMP0116 596439b1bb cmCustomCommandGenerator: Add option to transform depfile b2c14bc774 cmake -E: Add cmake_transform_depfile internal command 946adadd40 cmGccDepfileReader: Rework helper code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5325
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index f6e7633..8d6ebdc 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;
@@ -210,6 +211,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