summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-29 22:02:56 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-28 13:21:39 (GMT)
commit5c898fbd99f6d12e8835a0dd3b229d93812e7533 (patch)
treecffbfe8c6c48f4762dbd01d2edb51c7b1f50f9a8 /Source/cmGlobalGenerator.cxx
parentd13ec1ac31518d5c7875e9fa8b849e42ed66a3a3 (diff)
downloadCMake-5c898fbd99f6d12e8835a0dd3b229d93812e7533.zip
CMake-5c898fbd99f6d12e8835a0dd3b229d93812e7533.tar.gz
CMake-5c898fbd99f6d12e8835a0dd3b229d93812e7533.tar.bz2
exports: Add cmExportSetMap class
This is a map<string, cmExportSet *> with overloaded operator[] and destructor.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 5640af9..e464381 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1467,35 +1467,6 @@ void cmGlobalGenerator::AddInstallComponent(const char* component)
}
}
-void cmGlobalGenerator::AddTargetToExport(const char* exportSetName,
- cmTargetExport const* te)
-{
- std::map<cmStdString, cmExportSet>::iterator it = ExportSets.find(exportSetName);
- // If EXPORT named exportSetName does not exist, create it.
- if (it == ExportSets.end())
- {
- cmStdString key = exportSetName;
- cmExportSet value(key);
- it = ExportSets.insert(std::make_pair(key, value)).first;
- }
- it->second.AddTargetExport(te);
-}
-
-//----------------------------------------------------------------------------
-
-const cmExportSet *cmGlobalGenerator::GetExportSet(const char* name) const
-{
- std::map<cmStdString, cmExportSet >::const_iterator
- exportSetIt = this->ExportSets.find(name);
- if (exportSetIt != this->ExportSets.end())
- {
- return &exportSetIt->second;
- }
-
- return 0;
-}
-
-
void cmGlobalGenerator::EnableInstallTarget()
{
this->InstallTargetEnabled = true;