diff options
author | Yury G. Kudryashov <urkud.urkud@gmail.com> | 2012-02-29 22:02:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-09-28 13:21:39 (GMT) |
commit | 5c898fbd99f6d12e8835a0dd3b229d93812e7533 (patch) | |
tree | cffbfe8c6c48f4762dbd01d2edb51c7b1f50f9a8 /Source/cmGlobalGenerator.h | |
parent | d13ec1ac31518d5c7875e9fa8b849e42ed66a3a3 (diff) | |
download | CMake-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.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 568e138..71c3a4d 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -18,14 +18,13 @@ #include "cmTarget.h" // For cmTargets #include "cmTargetDepend.h" // For cmTargetDependSet #include "cmSystemTools.h" // for cmSystemTools::OutputOption -#include "cmExportSet.h" // For cmExportSet +#include "cmExportSetMap.h" // For cmExportSetMap class cmake; class cmGeneratorTarget; class cmMakefile; class cmLocalGenerator; class cmExternalMakefileProjectGenerator; class cmTarget; -class cmTargetExport; class cmInstallTargetGenerator; class cmInstallFilesGenerator; @@ -154,10 +153,7 @@ public: const std::set<cmStdString>* GetInstallComponents() const { return &this->InstallComponents; } - ///! Add one installed target to the sets of the exports - void AddTargetToExport(const char* exportSet, cmTargetExport const* te); - ///! Get the export target set with the given name - const cmExportSet *GetExportSet(const char* name) const; + cmExportSetMap& GetExportSets() {return this->ExportSets;} /** Add a file to the manifest of generated targets for a configuration. */ void AddToManifest(const char* config, std::string const& f); @@ -329,7 +325,7 @@ protected: std::set<cmStdString> InstallComponents; bool InstallTargetEnabled; // Sets of named target exports - std::map<cmStdString, cmExportSet> ExportSets; + cmExportSetMap ExportSets; // Manifest of all targets that will be built for each configuration. // This is computed just before local generators generate. |