diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-07 23:01:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-12 16:39:58 (GMT) |
commit | 9ca4cae51e8fb67e628fe7b41eea3f459f148237 (patch) | |
tree | 6b0e7b37b6b316be6a0ad23268b7430bf2854434 /Source/cmTarget.cxx | |
parent | d6b394edcb58752cfa3d2a34a81f558676781304 (diff) | |
download | CMake-9ca4cae51e8fb67e628fe7b41eea3f459f148237.zip CMake-9ca4cae51e8fb67e628fe7b41eea3f459f148237.tar.gz CMake-9ca4cae51e8fb67e628fe7b41eea3f459f148237.tar.bz2 |
cmGeneratorTarget: Move GetUtilityItems from cmTarget.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 3de7efe..31a9aa7 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -67,12 +67,10 @@ public: cmTargetInternals() : Backtrace() { - this->UtilityItemsDone = false; } cmTargetInternals(cmTargetInternals const&) : Backtrace() { - this->UtilityItemsDone = false; } ~cmTargetInternals(); @@ -82,9 +80,6 @@ public: typedef std::map<std::string, cmTarget::ImportInfo> ImportInfoMapType; ImportInfoMapType ImportInfoMap; - std::set<cmLinkItem> UtilityItems; - bool UtilityItemsDone; - std::vector<std::string> IncludeDirectoriesEntries; std::vector<cmListFileBacktrace> IncludeDirectoriesBacktraces; std::vector<std::string> CompileOptionsEntries; @@ -364,22 +359,6 @@ cmListFileBacktrace const* cmTarget::GetUtilityBacktrace( } //---------------------------------------------------------------------------- -std::set<cmLinkItem> const& cmTarget::GetUtilityItems() const -{ - if(!this->Internal->UtilityItemsDone) - { - this->Internal->UtilityItemsDone = true; - for(std::set<std::string>::const_iterator i = this->Utilities.begin(); - i != this->Utilities.end(); ++i) - { - this->Internal->UtilityItems.insert( - cmLinkItem(*i, this->Makefile->FindTargetToUse(*i))); - } - } - return this->Internal->UtilityItems; -} - -//---------------------------------------------------------------------------- void cmTarget::FinishConfigure() { // Erase any cached link information that might have been comptued |