cmGlobalCommonGenerator: Adopt GetEditCacheTargetName

The implementation is the same for both Makefile and Ninja generators.
This commit is contained in:
NAKAMURA Takumi authored and Brad King committed 2021-06-29 10:39:15 -04:00
1 parent 1db4d74628
commit 23af78bb78
3 files changed
+1 -2

No files matched your search

+1
View File
@@ -45,4 +45,5 @@ public:
protected:
virtual bool SupportsDirectConsole() const { return true; }
const char* GetEditCacheTargetName() const override { return "edit_cache"; }
};
-1
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";
-1
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";