summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-09-10 12:09:53 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-11 12:21:22 (GMT)
commit8a63b23d1606e4eb04e729369fa5ecccc2f5c7ea (patch)
tree3bad1dc6bc67eb17c41934250d851d43f8409953 /Source/cmGlobalGenerator.cxx
parentb1c8d95dbe97ab2511e08518bf8eee1f5da2e941 (diff)
downloadCMake-8a63b23d1606e4eb04e729369fa5ecccc2f5c7ea.zip
CMake-8a63b23d1606e4eb04e729369fa5ecccc2f5c7ea.tar.gz
CMake-8a63b23d1606e4eb04e729369fa5ecccc2f5c7ea.tar.bz2
cmGlobalGenerator: Remove unused FindLocalGenerator method
This method has not been used since commit v3.4.0-rc1~234^2~1 (cmGlobalGenerator: Port Find API to cmMakefile, 2015-08-02).
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index b5212fc..207d492 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2130,19 +2130,6 @@ cmMakefile* cmGlobalGenerator::FindMakefile(const std::string& start_dir) const
return nullptr;
}
-///! Find a local generator by its startdirectory
-cmLocalGenerator* cmGlobalGenerator::FindLocalGenerator(
- const std::string& start_dir) const
-{
- for (cmLocalGenerator* lg : this->LocalGenerators) {
- std::string sd = lg->GetCurrentSourceDirectory();
- if (sd == start_dir) {
- return lg;
- }
- }
- return nullptr;
-}
-
void cmGlobalGenerator::AddAlias(const std::string& name,
std::string const& tgtName)
{