diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2018-04-18 18:53:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-03 12:08:37 (GMT) |
commit | 0212d7c7629bb1a866da4f6c69b780c6d43f26f3 (patch) | |
tree | ea32f0aa311f23569ff0168c0446be4d831f93a2 /Source/cmInstallCommandArguments.h | |
parent | cbb609072f00ee6aec3fdfb6e54ed2b3a747e840 (diff) | |
download | CMake-0212d7c7629bb1a866da4f6c69b780c6d43f26f3.zip CMake-0212d7c7629bb1a866da4f6c69b780c6d43f26f3.tar.gz CMake-0212d7c7629bb1a866da4f6c69b780c6d43f26f3.tar.bz2 |
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.
Diffstat (limited to 'Source/cmInstallCommandArguments.h')
-rw-r--r-- | Source/cmInstallCommandArguments.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmInstallCommandArguments.h b/Source/cmInstallCommandArguments.h index a576e72..ee6e865 100644 --- a/Source/cmInstallCommandArguments.h +++ b/Source/cmInstallCommandArguments.h @@ -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; |