summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:41 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:43 (GMT)
commit41abdc17df99662a8e99ba895050dbc8c0e34b8e (patch)
treeca27f70ba5884758eb78d64df23d9202c69c7a1f /Source/cmTarget.h
parent1aa13f2b58e477095f76d28a8d9bb1b83a9dd1f5 (diff)
downloadCMake-41abdc17df99662a8e99ba895050dbc8c0e34b8e.zip
CMake-41abdc17df99662a8e99ba895050dbc8c0e34b8e.tar.gz
CMake-41abdc17df99662a8e99ba895050dbc8c0e34b8e.tar.bz2
cmGeneratorTarget: Move GetSOName from cmTarget..
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index f567d50..389f9cd 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -411,9 +411,6 @@ public:
/** Whether this library has soname enabled and platform supports it. */
bool HasSOName(const std::string& config) const;
- /** Get the soname of the target. Allowed only for a shared library. */
- std::string GetSOName(const std::string& config) const;
-
/** Whether this library has \@rpath and platform supports it. */
bool HasMacOSXRpathInstallNameDir(const std::string& config) const;
@@ -768,7 +765,20 @@ private:
std::string& out) const;
// Cache import information from properties for each configuration.
- struct ImportInfo;
+ 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;
+ };
+
ImportInfo const* GetImportInfo(const std::string& config) const;
void ComputeImportInfo(std::string const& desired_config,
ImportInfo& info) const;