diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-16 17:19:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-16 18:24:43 (GMT) |
commit | 8f363d6771dfa792d606978e1e406229637078f6 (patch) | |
tree | 2df476b2fe5383b331fbf1f54dddc9e03c3b0d6a /Source/cmGeneratorTarget.h | |
parent | 5794dbc301ace0041c5fc50096cc5331e8ba3c34 (diff) | |
download | CMake-8f363d6771dfa792d606978e1e406229637078f6.zip CMake-8f363d6771dfa792d606978e1e406229637078f6.tar.gz CMake-8f363d6771dfa792d606978e1e406229637078f6.tar.bz2 |
cmGeneratorTarget: Move ImportInfo from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index e48e36e..f72c85d 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -516,6 +516,28 @@ private: cmHeadToLinkInterfaceMap& GetHeadToLinkInterfaceUsageRequirementsMap( std::string const& config) const; + // Cache import information from properties for each configuration. + struct ImportInfo + { + ImportInfo(): NoSOName(false), Multiplicity(0) {} + bool NoSOName; + int Multiplicity; + std::string Location; + std::string SOName; + std::string ImportLibrary; + std::string Languages; + std::string Libraries; + std::string LibrariesProp; + std::string SharedDeps; + }; + + typedef std::map<std::string, ImportInfo> ImportInfoMapType; + mutable ImportInfoMapType ImportInfoMap; + void ComputeImportInfo(std::string const& desired_config, + ImportInfo& info) const; + ImportInfo const* GetImportInfo(const std::string& config) const; + + cmLinkInterface const* GetImportLinkInterface(const std::string& config, const cmGeneratorTarget* head, |