summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-16 03:21:07 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-14 17:32:09 (GMT)
commit2293d43d00ddcff86c70f0b06014223f3b01e36c (patch)
treea5a581e0637bd509f0802f979745bcc4678f4c31 /Source/cmMakefile.cxx
parent488723f5cd9bec3f7b35b26c89ce2d92ad7d4db4 (diff)
downloadCMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.zip
CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.gz
CMake-2293d43d00ddcff86c70f0b06014223f3b01e36c.tar.bz2
cmLocalGenerator: Store cmGeneratorTargets.
Relieve cmMakefile of this responsibility.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index f2f7ee7..8ac6358 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1812,12 +1812,6 @@ const char* cmMakefile::GetCurrentBinaryDirectory() const
return this->StateSnapshot.GetDirectory().GetCurrentBinary();
}
-void cmMakefile::AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt)
-{
- this->GeneratorTargets[t] = gt;
- this->GetGlobalGenerator()->AddGeneratorTarget(t, gt);
-}
-
//----------------------------------------------------------------------------
void cmMakefile::AddIncludeDirectories(const std::vector<std::string> &incs,
bool before)
@@ -4321,17 +4315,6 @@ bool cmMakefile::IsAlias(const std::string& name) const
}
//----------------------------------------------------------------------------
-cmGeneratorTarget*
-cmMakefile::FindGeneratorTargetToUse(const std::string& name) const
-{
- if (cmTarget *t = this->FindTargetToUse(name))
- {
- return this->GetGlobalGenerator()->GetGeneratorTarget(t);
- }
- return 0;
-}
-
-//----------------------------------------------------------------------------
bool cmMakefile::EnforceUniqueName(std::string const& name, std::string& msg,
bool isCustom) const
{