summaryrefslogtreecommitdiffstats
path: root/Source/cmExportSet.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-09-15 19:04:48 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-28 13:21:39 (GMT)
commit999061a4c2000213e6f04695f1f1fe546c86703d (patch)
tree795940bb6bd47d8a06d6f69b272501f19cbd61b9 /Source/cmExportSet.cxx
parent64b3a6c9cf3f1b64dce357852995a802139afbbd (diff)
downloadCMake-999061a4c2000213e6f04695f1f1fe546c86703d.zip
CMake-999061a4c2000213e6f04695f1f1fe546c86703d.tar.gz
CMake-999061a4c2000213e6f04695f1f1fe546c86703d.tar.bz2
exports: store pointers to all installations of each export set
This information will be used to check whether a target is exported once or multiple times and to check its namespace. Alex
Diffstat (limited to 'Source/cmExportSet.cxx')
-rw-r--r--Source/cmExportSet.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmExportSet.cxx b/Source/cmExportSet.cxx
index b86e147..464ad68 100644
--- a/Source/cmExportSet.cxx
+++ b/Source/cmExportSet.cxx
@@ -25,3 +25,8 @@ void cmExportSet::AddTargetExport(cmTargetExport const* te)
{
this->TargetExports.push_back(te);
}
+
+void cmExportSet::AddInstallation(cmInstallExportGenerator const* installation)
+{
+ this->Installations.push_back(installation);
+}