summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-06-24 22:30:38 (GMT)
committerKyle Edwards <kyle.edwards@kitware.com>2019-06-25 14:55:03 (GMT)
commitd29ed8a1148d317a5743c0210a3b97d42d41e0a0 (patch)
tree02672188d40e2d9055892cff7fbc5a9ff270a9ee /Source/cmGeneratorTarget.h
parent1009fd18604e7670838ed28798b83312eff1b0f0 (diff)
downloadCMake-d29ed8a1148d317a5743c0210a3b97d42d41e0a0.zip
CMake-d29ed8a1148d317a5743c0210a3b97d42d41e0a0.tar.gz
CMake-d29ed8a1148d317a5743c0210a3b97d42d41e0a0.tar.bz2
BUILD_RPATH/INSTALL_RPATH: Add generator expression support
Fixes: #19423
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 0e0ee6a..627a055 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -674,7 +674,10 @@ public:
class TargetPropertyEntry;
- bool HaveInstallTreeRPATH() const;
+ bool HaveInstallTreeRPATH(const std::string& config) const;
+
+ bool GetBuildRPATH(const std::string& config, std::string& rpath) const;
+ bool GetInstallRPATH(const std::string& config, std::string& rpath) const;
/** Whether this library has \@rpath and platform supports it. */
bool HasMacOSXRpathInstallNameDir(const std::string& config) const;
@@ -913,6 +916,9 @@ private:
ManagedType CheckManagedType(std::string const& propval) const;
+ bool GetRPATH(const std::string& config, const std::string& prop,
+ std::string& rpath) const;
+
public:
const std::vector<const cmGeneratorTarget*>& GetLinkImplementationClosure(
const std::string& config) const;