summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestUpdateCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestUpdateCommand.h')
-rw-r--r--Source/CTest/cmCTestUpdateCommand.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/CTest/cmCTestUpdateCommand.h b/Source/CTest/cmCTestUpdateCommand.h
index cad95c4..a93b05a 100644
--- a/Source/CTest/cmCTestUpdateCommand.h
+++ b/Source/CTest/cmCTestUpdateCommand.h
@@ -17,14 +17,14 @@
#ifndef cmCTestUpdateCommand_h
#define cmCTestUpdateCommand_h
-#include "cmCTestCommand.h"
+#include "cmCTestHandlerCommand.h"
/** \class cmCTestUpdate
* \brief Run a ctest script
*
* cmCTestUpdateCommand defineds the command to updates the repository.
*/
-class cmCTestUpdateCommand : public cmCTestCommand
+class cmCTestUpdateCommand : 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_UPDATE";}
@@ -72,8 +66,10 @@ public:
"modified. If there is a problem, the variable will be -1.";
}
- cmTypeMacro(cmCTestUpdateCommand, cmCTestCommand);
+ cmTypeMacro(cmCTestUpdateCommand, cmCTestHandlerCommand);
+protected:
+ cmCTestGenericHandler* InitializeHandler();
};