summaryrefslogtreecommitdiff
path: root/Source/cmComputeLinkInformation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-29 15:07:33 -0500
committerBrad King <brad.king@kitware.com>2008-01-29 15:07:33 -0500
commitffac622a858cca4dc661caa896d961da666430cc (patch)
tree3c52af43de45021dbfc5afc7f64f3ce17701a78f /Source/cmComputeLinkInformation.h
parentbb52f45ebb6b1c80f8f7b8e2b841202118ed9d06 (diff)
downloadcmake-ffac622a858cca4dc661caa896d961da666430cc.tar.gz
ENH: Add cmTarget::GetLinkInformation method to allow several places in the generators to share link information while only computing it once per configuration for a target. Use it to simplify the chrpath feature.
Diffstat (limited to 'Source/cmComputeLinkInformation.h')
-rw-r--r--Source/cmComputeLinkInformation.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmComputeLinkInformation.h b/Source/cmComputeLinkInformation.h
index 993ad0f10c..96af2e4c83 100644
--- a/Source/cmComputeLinkInformation.h
+++ b/Source/cmComputeLinkInformation.h
@@ -50,6 +50,12 @@ public:
std::vector<std::string> const& GetFrameworkPaths();
const char* GetLinkLanguage() const { return this->LinkLanguage; }
std::vector<std::string> const& GetRuntimeSearchPath();
+ std::string const& GetRuntimeFlag() const { return this->RuntimeFlag; }
+ std::string const& GetRuntimeSep() const { return this->RuntimeSep; }
+ void GetRPath(std::vector<std::string>& runtimeDirs, bool for_install);
+ std::string GetRPathString(bool for_install);
+ std::string GetChrpathString();
+ std::string GetChrpathTool();
private:
void AddItem(std::string const& item, cmTarget* tgt);
@@ -76,6 +82,10 @@ private:
std::string LibLinkFlag;
std::string LibLinkFileFlag;
std::string LibLinkSuffix;
+ std::string RuntimeFlag;
+ std::string RuntimeSep;
+ std::string RuntimeAlways;
+ bool RuntimeUseChrpath;
// Link type adjustment.
void ComputeLinkTypeInfo();