diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2021-06-26 21:45:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-06-29 14:39:15 (GMT) |
commit | 23af78bb78b924b52b180049eb2ce62a4339251e (patch) | |
tree | 2b3844f71a9a4593fe73b000439ebd05194ec56e /Source | |
parent | 1db4d7462808e9af5e2a6de029943d51a521f52c (diff) | |
download | CMake-23af78bb78b924b52b180049eb2ce62a4339251e.zip CMake-23af78bb78b924b52b180049eb2ce62a4339251e.tar.gz CMake-23af78bb78b924b52b180049eb2ce62a4339251e.tar.bz2 |
cmGlobalCommonGenerator: Adopt GetEditCacheTargetName
The implementation is the same for both Makefile and Ninja generators.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalCommonGenerator.h | 1 | ||||
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 1 | ||||
-rw-r--r-- | Source/cmGlobalUnixMakefileGenerator3.h | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalCommonGenerator.h b/Source/cmGlobalCommonGenerator.h index 21cfd11..c641240 100644 --- a/Source/cmGlobalCommonGenerator.h +++ b/Source/cmGlobalCommonGenerator.h @@ -45,4 +45,5 @@ public: protected: virtual bool SupportsDirectConsole() const { return true; } + const char* GetEditCacheTargetName() const override { return "edit_cache"; } }; diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index ce47122..519be3f 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/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"; diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h index 7c950cc..3073f72 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.h +++ b/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"; |