diff options
author | Brad King <brad.king@kitware.com> | 2016-04-01 14:26:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-04-01 19:44:16 (GMT) |
commit | 0e44f4894f23d5eccd8d360f3420c832f9433a20 (patch) | |
tree | c155f2d4761efd7243aeea4be92c19f705b3a1b0 /Source/cmLocalGenerator.h | |
parent | bc30f8b5e66cb9c15fd224f5e51454c0bc66c67e (diff) | |
download | CMake-0e44f4894f23d5eccd8d360f3420c832f9433a20.zip CMake-0e44f4894f23d5eccd8d360f3420c832f9433a20.tar.gz CMake-0e44f4894f23d5eccd8d360f3420c832f9433a20.tar.bz2 |
Rename local target lookup methods to clarify purpose
Rename methods:
* `cmMakefile::Find{ => LocalNonAlias}Target`
* `cmLocalGenerator::Find{ => LocalNonAlias}GeneratorTarget`
These names clarify that they are for directory-local target names
and do not consider alias targets.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r-- | Source/cmLocalGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 68e7667..b673a85 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -129,7 +129,8 @@ public: void AddImportedGeneratorTarget(cmGeneratorTarget* gt); void AddOwnedImportedGeneratorTarget(cmGeneratorTarget* gt); - cmGeneratorTarget* FindGeneratorTarget(const std::string& name) const; + cmGeneratorTarget* + FindLocalNonAliasGeneratorTarget(const std::string& name) const; cmGeneratorTarget* FindGeneratorTargetToUse(const std::string& name) const; /** |