summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildCommand.h
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2019-09-26 13:22:00 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-09-26 13:22:13 (GMT)
commit67e6b55c5885c445b5b78b41a66529553dcab069 (patch)
treeb81531ae84bc02bfe7abe2e3c93fcaf4eb705dfb /Source/CTest/cmCTestBuildCommand.h
parentb42cb1ff80dc056da4036c7b65109d1a77d84bf4 (diff)
parent0aa8a2ab8b00c0889df3d0fa1be47ad5a0b9db22 (diff)
downloadCMake-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.h23
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