diff options
author | Brad King <brad.king@kitware.com> | 2008-02-04 22:03:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-02-04 22:03:48 (GMT) |
commit | 8401c5ba065f9c66bfd1c495762001c6dacd5d9c (patch) | |
tree | 7cf1e9d906e64771528e5c7bf80389f10682a77b /Source/cmInstallTargetGenerator.h | |
parent | 852f6018bbe2bb52a3b7cbef95dba04c8e8f6a0c (diff) | |
download | CMake-8401c5ba065f9c66bfd1c495762001c6dacd5d9c.zip CMake-8401c5ba065f9c66bfd1c495762001c6dacd5d9c.tar.gz CMake-8401c5ba065f9c66bfd1c495762001c6dacd5d9c.tar.bz2 |
ENH: Allow separate installation of shared libs and their links.
- Add NAMELINK_ONLY and NAMELINK_SKIP to INSTALL command
- Options select a \"namelink\" mode
- cmInstallTargetGenerator selects files/link based on mode
- See bug #4419
Diffstat (limited to 'Source/cmInstallTargetGenerator.h')
-rw-r--r-- | Source/cmInstallTargetGenerator.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmInstallTargetGenerator.h b/Source/cmInstallTargetGenerator.h index 64ad784..3b5dbb8 100644 --- a/Source/cmInstallTargetGenerator.h +++ b/Source/cmInstallTargetGenerator.h @@ -36,6 +36,16 @@ public: ); virtual ~cmInstallTargetGenerator(); + /** Select the policy for installing shared library linkable name + symlinks. */ + enum NamelinkModeType + { + NamelinkModeNone, + NamelinkModeOnly, + NamelinkModeSkip + }; + void SetNamelinkMode(NamelinkModeType mode) { this->NamelinkMode = mode; } + std::string GetInstallFilename(const char* config) const; static std::string GetInstallFilename(cmTarget*target, const char* config, bool implib, bool useSOName); @@ -72,6 +82,7 @@ protected: bool ImportLibrary; std::string FilePermissions; bool Optional; + NamelinkModeType NamelinkMode; }; #endif |