diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-04 17:19:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-05 16:20:47 (GMT) |
commit | d560bfd2739f2594119c49d82485b99bb4fbbe1f (patch) | |
tree | 88787d2a552094cb6b44a7a1e56ed42462d8c49e /Source/cmGeneratorTarget.h | |
parent | 89e2a080e977b9632fa13c627b6a5370250d6ed5 (diff) | |
download | CMake-d560bfd2739f2594119c49d82485b99bb4fbbe1f.zip CMake-d560bfd2739f2594119c49d82485b99bb4fbbe1f.tar.gz CMake-d560bfd2739f2594119c49d82485b99bb4fbbe1f.tar.bz2 |
cmGeneratorTarget: Move GetInstallNameDir* from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r-- | Source/cmGeneratorTarget.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 8fc1b44..6d084f7 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -115,6 +115,15 @@ public: bool realname) const; std::string NormalGetRealName(const std::string& config) const; + /** Return the install name directory for the target in the + * build tree. For example: "\@rpath/", "\@loader_path/", + * or "/full/path/to/library". */ + std::string GetInstallNameDirForBuildTree(const std::string& config) const; + + /** Return the install name directory for the target in the + * install tree. For example: "\@rpath/" or "\@loader_path/". */ + std::string GetInstallNameDirForInstallTree() const; + /** Get the soname of the target. Allowed only for a shared library. */ std::string GetSOName(const std::string& config) const; |