diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-05 16:15:17 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-13 14:18:02 (GMT) |
commit | 596439b1bbac44b4218f65615d93e9fe9bd43922 (patch) | |
tree | c009f1f22251d78a23a9ba8effc8b0dfd66d9773 /Source/cmGlobalGenerator.h | |
parent | b2c14bc7749c21b8a994ce1d9f4e736f712481b9 (diff) | |
download | CMake-596439b1bbac44b4218f65615d93e9fe9bd43922.zip CMake-596439b1bbac44b4218f65615d93e9fe9bd43922.tar.gz CMake-596439b1bbac44b4218f65615d93e9fe9bd43922.tar.bz2 |
cmCustomCommandGenerator: Add option to transform depfile
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index b532a43..de5eba7 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -14,6 +14,7 @@ #include <utility> #include <vector> +#include <cm/optional> #include <cmext/algorithm> #include "cm_codecvt.hxx" @@ -26,6 +27,7 @@ #include "cmSystemTools.h" #include "cmTarget.h" #include "cmTargetDepend.h" +#include "cmTransformDepfile.h" #if !defined(CMAKE_BOOTSTRAP) # include <cm3p/json/value.h> @@ -452,6 +454,10 @@ public: virtual bool ShouldStripResourcePath(cmMakefile*) const; virtual bool SupportsCustomCommandDepfile() const { return false; } + virtual cm::optional<cmDepfileFormat> DepfileFormat() const + { + return cm::nullopt; + } std::string GetSharedLibFlagsForLanguage(std::string const& lang) const; |