summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-11-26 22:57:39 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-11-26 22:57:39 (GMT)
commitf2bb0af819d5ac2860984c440f1a1f01e7c11007 (patch)
tree9a51b79ec70d62d33ed3e8c4ea3a858561d67478 /Source/cmLocalGenerator.h
parentbde7f6c023fc0425502191e409f331ce9f3fd154 (diff)
downloadCMake-f2bb0af819d5ac2860984c440f1a1f01e7c11007.zip
CMake-f2bb0af819d5ac2860984c440f1a1f01e7c11007.tar.gz
CMake-f2bb0af819d5ac2860984c440f1a1f01e7c11007.tar.bz2
STYLE: restructure OutputLinkLibraries() a bit, so that new there is a
function which returns the RPATH, so e.g. the install rpath can be queried when the command for the build rpath is created. This is a first step for supporting chrpath. Alex
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 1c2128a..9f24f3f 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -257,6 +257,10 @@ protected:
///! put all the libraries for a target on into the given stream
virtual void OutputLinkLibraries(std::ostream&, cmTarget&, bool relink);
+
+ ///! Determine the arguments for the linker call
+ bool GetLinkerArgs(std::string& rpath, std::string& linkLibs,
+ cmTarget& tgt, bool relink);
// Expand rule variables in CMake of the type found in language rules
void ExpandRuleVariables(std::string& string,