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/cmCTestBuildCommand.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/cmCTestBuildCommand.h')
-rw-r--r-- | Source/CTest/cmCTestBuildCommand.h | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/Source/CTest/cmCTestBuildCommand.h b/Source/CTest/cmCTestBuildCommand.h index 14f70bf..791e1f0 100644 --- a/Source/CTest/cmCTestBuildCommand.h +++ b/Source/CTest/cmCTestBuildCommand.h @@ -27,7 +27,6 @@ class cmGlobalGenerator; class cmCTestBuildCommand : public cmCTestHandlerCommand { public: - cmCTestBuildCommand(); ~cmCTestBuildCommand() override; /** @@ -49,23 +48,19 @@ public: bool InitialPass(std::vector<std::string> const& args, cmExecutionStatus& status) override; - cmGlobalGenerator* GlobalGenerator; + cmGlobalGenerator* GlobalGenerator = nullptr; protected: cmCTestBuildHandler* Handler; - enum - { - ctb_BUILD = ct_LAST, - ctb_NUMBER_ERRORS, - ctb_NUMBER_WARNINGS, - ctb_TARGET, - ctb_CONFIGURATION, - ctb_FLAGS, - ctb_PROJECT_NAME, - ctb_LAST - }; - + void BindArguments() override; cmCTestGenericHandler* InitializeHandler() override; + + std::string NumberErrors; + std::string NumberWarnings; + std::string Target; + std::string Configuration; + std::string Flags; + std::string ProjectName; }; #endif |