mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
install: add NAMELINK_COMPONENT argument
For shared libraries, this allows you to specify separate components for the shared library and for the namelink. Suggested in https://cmake.org/pipermail/cmake-developers/2014-December/024032.html.
This commit is contained in:
@@ -26,6 +26,7 @@ public:
|
||||
|
||||
const std::string& GetDestination() const;
|
||||
const std::string& GetComponent() const;
|
||||
const std::string& GetNamelinkComponent() const;
|
||||
bool GetExcludeFromAll() const;
|
||||
const std::string& GetRename() const;
|
||||
const std::string& GetPermissions() const;
|
||||
@@ -33,6 +34,7 @@ public:
|
||||
bool GetOptional() const;
|
||||
bool GetNamelinkOnly() const;
|
||||
bool GetNamelinkSkip() const;
|
||||
bool HasNamelinkComponent() const;
|
||||
|
||||
// once HandleDirectoryMode() is also switched to using
|
||||
// cmInstallCommandArguments then these two functions can become non-static
|
||||
@@ -45,6 +47,7 @@ private:
|
||||
cmInstallCommandArguments(); // disabled
|
||||
cmCAString Destination;
|
||||
cmCAString Component;
|
||||
cmCAString NamelinkComponent;
|
||||
cmCAEnabler ExcludeFromAll;
|
||||
cmCAString Rename;
|
||||
cmCAStringVector Permissions;
|
||||
|
||||
Reference in New Issue
Block a user