diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-19 11:11:55 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-20 11:27:30 (GMT) |
commit | 0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22 (patch) | |
tree | 707ea2e27d95ba423c5710bb4ecd42bce5e91023 /Source/CTest/cmCTestUploadCommand.h | |
parent | d5a6a133680e4d5798522a4b29ae6bced1f2db3a (diff) | |
download | CMake-0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22.zip CMake-0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22.tar.gz CMake-0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22.tar.bz2 |
cmCTest*Command: Port to cmArgumentParser
Diffstat (limited to 'Source/CTest/cmCTestUploadCommand.h')
-rw-r--r-- | Source/CTest/cmCTestUploadCommand.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/Source/CTest/cmCTestUploadCommand.h b/Source/CTest/cmCTestUploadCommand.h index 9e49769..a962497 100644 --- a/Source/CTest/cmCTestUploadCommand.h +++ b/Source/CTest/cmCTestUploadCommand.h @@ -8,9 +8,9 @@ #include "cmCTestHandlerCommand.h" #include "cmCommand.h" -#include <set> #include <string> #include <utility> +#include <vector> #include "cm_memory.hxx" @@ -41,22 +41,12 @@ public: */ std::string GetName() const override { return "ctest_upload"; } - using Superclass = cmCTestHandlerCommand; - protected: + void BindArguments() override; + void CheckArguments(std::vector<std::string> const&) override; cmCTestGenericHandler* InitializeHandler() override; - bool CheckArgumentKeyword(std::string const& arg) override; - bool CheckArgumentValue(std::string const& arg) override; - - enum - { - ArgumentDoingFiles = Superclass::ArgumentDoingLast1, - ArgumentDoingCaptureCMakeError, - ArgumentDoingLast2 - }; - - std::set<std::string> Files; + std::vector<std::string> Files; }; #endif |