diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2019-09-26 13:22:00 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-09-26 13:22:13 (GMT) |
commit | 67e6b55c5885c445b5b78b41a66529553dcab069 (patch) | |
tree | b81531ae84bc02bfe7abe2e3c93fcaf4eb705dfb /Source/CTest/cmCTestCoverageCommand.h | |
parent | b42cb1ff80dc056da4036c7b65109d1a77d84bf4 (diff) | |
parent | 0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22 (diff) | |
download | CMake-67e6b55c5885c445b5b78b41a66529553dcab069.zip CMake-67e6b55c5885c445b5b78b41a66529553dcab069.tar.gz CMake-67e6b55c5885c445b5b78b41a66529553dcab069.tar.bz2 |
Merge topic 'ctest-argument-parser'
0aa8a2ab8b cmCTest*Command: Port to cmArgumentParser
d5a6a13368 cmArgumentParser: Record parsed keywords
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3835
Diffstat (limited to 'Source/CTest/cmCTestCoverageCommand.h')
-rw-r--r-- | Source/CTest/cmCTestCoverageCommand.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.h b/Source/CTest/cmCTestCoverageCommand.h index 75aefdf..fcffa75 100644 --- a/Source/CTest/cmCTestCoverageCommand.h +++ b/Source/CTest/cmCTestCoverageCommand.h @@ -8,9 +8,9 @@ #include "cmCTestHandlerCommand.h" #include "cmCommand.h" -#include <set> #include <string> #include <utility> +#include <vector> #include <cm/memory> @@ -24,8 +24,6 @@ class cmCTestGenericHandler; class cmCTestCoverageCommand : public cmCTestHandlerCommand { public: - cmCTestCoverageCommand(); - /** * This is a virtual constructor for the command. */ @@ -42,22 +40,13 @@ public: */ std::string GetName() const override { return "ctest_coverage"; } - using Superclass = cmCTestHandlerCommand; - protected: + void BindArguments() override; + void CheckArguments(std::vector<std::string> const& keywords) override; cmCTestGenericHandler* InitializeHandler() override; - bool CheckArgumentKeyword(std::string const& arg) override; - bool CheckArgumentValue(std::string const& arg) override; - - enum - { - ArgumentDoingLabels = Superclass::ArgumentDoingLast1, - ArgumentDoingLast2 - }; - bool LabelsMentioned; - std::set<std::string> Labels; + std::vector<std::string> Labels; }; #endif |