summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestCoverageCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestCoverageCommand.h')
-rw-r--r--Source/CTest/cmCTestCoverageCommand.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/CTest/cmCTestCoverageCommand.h b/Source/CTest/cmCTestCoverageCommand.h
index afc2879..7007b18 100644
--- a/Source/CTest/cmCTestCoverageCommand.h
+++ b/Source/CTest/cmCTestCoverageCommand.h
@@ -17,14 +17,14 @@
#ifndef cmCTestCoverageCommand_h
#define cmCTestCoverageCommand_h
-#include "cmCTestCommand.h"
+#include "cmCTestHandlerCommand.h"
/** \class cmCTestCoverage
* \brief Run a ctest script
*
* cmCTestCoverageCommand defineds the command to test the project.
*/
-class cmCTestCoverageCommand : public cmCTestCommand
+class cmCTestCoverageCommand : public cmCTestHandlerCommand
{
public:
@@ -42,12 +42,6 @@ public:
}
/**
- * This is called when the command is first encountered in
- * the CMakeLists.txt file.
- */
- virtual bool InitialPass(std::vector<std::string> const& args);
-
- /**
* The name of the command as specified in CMakeList.txt.
*/
virtual const char* GetName() { return "CTEST_COVERAGE";}
@@ -72,8 +66,10 @@ public:
"value.";
}
- cmTypeMacro(cmCTestCoverageCommand, cmCTestCommand);
+ cmTypeMacro(cmCTestCoverageCommand, cmCTestHandlerCommand);
+protected:
+ cmCTestGenericHandler* InitializeHandler();
};