summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-11-05 15:14:02 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-11-21 14:49:37 (GMT)
commit0bbae6f95f55f23b758780f771bf4dd560ac2c07 (patch)
treeea5ad5f7a44a70dd85fa251d71ebfe1938cc00ba /Source/cmTarget.h
parentd5cf644ac2e3f035d2d3413dd98aa0d46f9f27eb (diff)
downloadCMake-0bbae6f95f55f23b758780f771bf4dd560ac2c07.zip
CMake-0bbae6f95f55f23b758780f771bf4dd560ac2c07.tar.gz
CMake-0bbae6f95f55f23b758780f771bf4dd560ac2c07.tar.bz2
Revert "Move GetLinkInformation to cmGeneratorTarget"
As we can't move all linking related code from cmTarget, it makes sense to reverse the move in some cases. This reverts commit 4f5384e75c6a00d110d3fa3f555a3f6a4f31bb46.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index e442d25..9efd638 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -22,8 +22,18 @@ class cmake;
class cmMakefile;
class cmSourceFile;
class cmGlobalGenerator;
+class cmComputeLinkInformation;
class cmListFileBacktrace;
+struct cmTargetLinkInformationMap:
+ public std::map<cmStdString, cmComputeLinkInformation*>
+{
+ typedef std::map<cmStdString, cmComputeLinkInformation*> derived;
+ cmTargetLinkInformationMap() {}
+ cmTargetLinkInformationMap(cmTargetLinkInformationMap const& r);
+ ~cmTargetLinkInformationMap();
+};
+
class cmTargetInternals;
class cmTargetInternalPointer
{
@@ -392,6 +402,8 @@ public:
std::string GetInstallNameDirForInstallTree(const char* config,
bool for_xcode = false);
+ cmComputeLinkInformation* GetLinkInformation(const char* config);
+
// Get the properties
cmPropertyMap &GetProperties() { return this->Properties; };
@@ -584,6 +596,8 @@ private:
ImportInfo const* GetImportInfo(const char* config);
void ComputeImportInfo(std::string const& desired_config, ImportInfo& info);
+ cmTargetLinkInformationMap LinkInformation;
+
bool ComputeLinkInterface(const char* config, LinkInterface& iface);
void ComputeLinkImplementation(const char* config,