cmGlobalCommonGenerator: Adopt GetEditCacheTargetName

The implementation is the same for both Makefile and Ninja generators.
This commit is contained in:
NAKAMURA Takumi
2021-06-27 06:45:26 +09:00
committed by Brad King
parent 1db4d74628
commit 23af78bb78
3 changed files with 1 additions and 2 deletions

View File

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

View File

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

View File

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