Browse Source

cmGlobalCommonGenerator: Adopt GetEditCacheTargetName

The implementation is the same for both Makefile and Ninja generators.
NAKAMURA Takumi 4 years ago
parent
commit
23af78bb78

+ 1 - 0
Source/cmGlobalCommonGenerator.h

@@ -45,4 +45,5 @@ public:
 
 protected:
   virtual bool SupportsDirectConsole() const { return true; }
+  const char* GetEditCacheTargetName() const override { return "edit_cache"; }
 };

+ 0 - 1
Source/cmGlobalNinjaGenerator.h

@@ -220,7 +220,6 @@ public:
   {
     return "package_source";
   }
-  const char* GetEditCacheTargetName() const override { return "edit_cache"; }
   const char* GetRebuildCacheTargetName() const override
   {
     return "rebuild_cache";

+ 0 - 1
Source/cmGlobalUnixMakefileGenerator3.h

@@ -228,7 +228,6 @@ protected:
   {
     return "package_source";
   }
-  const char* GetEditCacheTargetName() const override { return "edit_cache"; }
   const char* GetRebuildCacheTargetName() const override
   {
     return "rebuild_cache";