diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2021-06-17 17:01:28 -0400 |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2021-10-27 15:17:23 -0400 |
commit | 9b479124cc4be49a4b2c6e45e733b489f7a26432 (patch) | |
tree | c8ca0ce69ed5706d20cfc08a486507c58905233c /Source/cmInstallCommandArguments.h | |
parent | d8af2d954f8619f0e8bc42252d310085dec94df4 (diff) | |
download | cmake-9b479124cc4be49a4b2c6e45e733b489f7a26432.tar.gz |
install(TARGETS): Add FILE_SET mode
Diffstat (limited to 'Source/cmInstallCommandArguments.h')
-rw-r--r-- | Source/cmInstallCommandArguments.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Source/cmInstallCommandArguments.h b/Source/cmInstallCommandArguments.h index f318a1a881..79bd945c7a 100644 --- a/Source/cmInstallCommandArguments.h +++ b/Source/cmInstallCommandArguments.h @@ -34,6 +34,8 @@ public: bool HasNamelinkComponent() const; const std::string& GetType() const; + const std::string& GetDefaultComponent() const; + static bool CheckPermissions(const std::string& onePerm, std::string& perm); private: @@ -71,3 +73,17 @@ public: private: std::vector<std::string> IncludeDirs; }; + +class cmInstallCommandFileSetArguments : public cmInstallCommandArguments +{ +public: + cmInstallCommandFileSetArguments(std::string defaultComponent); + + void Parse(std::vector<std::string> args, + std::vector<std::string>* unconsumedArgs); + + const std::string& GetFileSet() const { return this->FileSet; } + +private: + std::string FileSet; +}; |