diff options
author | Brad King <brad.king@kitware.com> | 2006-02-24 18:13:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-24 18:13:14 (GMT) |
commit | 586a9427d3dd8b4a99f7a3d545814f8b9bf42453 (patch) | |
tree | 82f286d8b7e97066af8c623bff58840ba42c5828 /Source/cmInstallTargetGenerator.h | |
parent | 7db7b981afa37cb33c131c3ba1c559bb6d15b1a5 (diff) | |
download | CMake-586a9427d3dd8b4a99f7a3d545814f8b9bf42453.zip CMake-586a9427d3dd8b4a99f7a3d545814f8b9bf42453.tar.gz CMake-586a9427d3dd8b4a99f7a3d545814f8b9bf42453.tar.bz2 |
ENH: Created target property INSTALL_NAME_DIR initalized by CMAKE_INSTALL_NAME_DIR specifying the directory portion of the OSX install_name field in shared libraries. This is the OSX equivalent of RPATH.
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r-- | Source/cmInstallTargetGenerator.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index 6e13ac8..ac7058a 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -33,8 +33,12 @@ public: protected: virtual void GenerateScript(std::ostream& os); - void PrepareInstallReference(std::ostream& os); - std::string GetInstallReference(); + void PrepareScriptReference(std::ostream& os, cmTarget* target, + const char* place, bool useConfigDir, + bool useSOName); + std::string GetScriptReference(cmTarget* target, const char* place, + bool useSOName); + void AddInstallNamePatchRule(std::ostream& os); cmTarget* Target; std::string Destination; bool ImportLibrary; |