mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
cmGlobalCommonGenerator: Adopt GetEditCacheTargetName
The implementation is the same for both Makefile and Ninja generators.
This commit is contained in:
committed by
Brad King
parent
1db4d74628
commit
23af78bb78
@@ -45,4 +45,5 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool SupportsDirectConsole() const { return true; }
|
virtual bool SupportsDirectConsole() const { return true; }
|
||||||
|
const char* GetEditCacheTargetName() const override { return "edit_cache"; }
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -220,7 +220,6 @@ public:
|
|||||||
{
|
{
|
||||||
return "package_source";
|
return "package_source";
|
||||||
}
|
}
|
||||||
const char* GetEditCacheTargetName() const override { return "edit_cache"; }
|
|
||||||
const char* GetRebuildCacheTargetName() const override
|
const char* GetRebuildCacheTargetName() const override
|
||||||
{
|
{
|
||||||
return "rebuild_cache";
|
return "rebuild_cache";
|
||||||
|
|||||||
@@ -228,7 +228,6 @@ protected:
|
|||||||
{
|
{
|
||||||
return "package_source";
|
return "package_source";
|
||||||
}
|
}
|
||||||
const char* GetEditCacheTargetName() const override { return "edit_cache"; }
|
|
||||||
const char* GetRebuildCacheTargetName() const override
|
const char* GetRebuildCacheTargetName() const override
|
||||||
{
|
{
|
||||||
return "rebuild_cache";
|
return "rebuild_cache";
|
||||||
|
|||||||
Reference in New Issue
Block a user