summaryrefslogtreecommitdiff
path: root/Source/cmLinkLineComputer.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-08 12:21:38 +0200
committerStephen Kelly <steveire@gmail.com>2016-10-10 20:38:59 +0200
commit77c4202edc242c96087295585a85a20700bdb26f (patch)
treefd0c780e1e758ed43e5b2958cd467cca9ad78c7a /Source/cmLinkLineComputer.h
parent09b6cc66b09b9689ca01faee5e33ef101b46f972 (diff)
downloadcmake-77c4202edc242c96087295585a85a20700bdb26f.tar.gz
cmLinkLineComputer: Move RPath computation from cmLocalGenerator
Add state for Relink and populate it at the point of cmLinkLineComputer initialization. This allows removal of the parameter in go-between methods.
Diffstat (limited to 'Source/cmLinkLineComputer.h')
-rw-r--r--Source/cmLinkLineComputer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLinkLineComputer.h b/Source/cmLinkLineComputer.h
index d38213fe97..d33e832965 100644
--- a/Source/cmLinkLineComputer.h
+++ b/Source/cmLinkLineComputer.h
@@ -18,6 +18,7 @@ public:
void SetUseWatcomQuote(bool useWatcomQuote);
void SetForResponse(bool forResponse);
+ void SetRelink(bool relink);
virtual std::string ConvertToLinkReference(std::string const& input) const;
@@ -27,6 +28,8 @@ public:
std::string const& libPathFlag,
std::string const& libPathTerminator);
+ std::string ComputeRPath(cmComputeLinkInformation& cli);
+
private:
std::string ConvertToOutputFormat(std::string const& input);
std::string ConvertToOutputForExisting(std::string const& input);
@@ -36,6 +39,7 @@ private:
bool ForResponse;
bool UseWatcomQuote;
+ bool Relink;
};
#endif