1 /*============================================================================
2 CMake - Cross Platform Makefile Generator
3 Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5 Distributed under the OSI-approved BSD License (the "License");
6 see accompanying file Copyright.txt for details.
8 This software is distributed WITHOUT ANY WARRANTY; without even the
9 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 See the License for more information.
11 ============================================================================*/
15 #include "cmSystemTools.h"
17 class cmInstallExportGenerator;
19 /// A set of targets that were installed with the same EXPORT parameter.
23 /// Construct an empty export set named \a name
24 cmExportSet(const std::string &name) : Name(name) {}
28 void AddTargetExport(cmTargetExport* tgt);
30 void AddInstallation(cmInstallExportGenerator const* installation);
32 std::string const& GetName() const { return this->Name; }
34 std::vector<cmTargetExport*> const* GetTargetExports() const
35 { return &this->TargetExports; }
37 std::vector<cmInstallExportGenerator const*> const* GetInstallations() const
38 { return &this->Installations; }
41 std::vector<cmTargetExport*> TargetExports;
43 std::vector<cmInstallExportGenerator const*> Installations;