summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestMemCheckCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmCTestMemCheckCommand.h')
-rw-r--r--Source/CTest/cmCTestMemCheckCommand.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/Source/CTest/cmCTestMemCheckCommand.h b/Source/CTest/cmCTestMemCheckCommand.h
index 72b5095..9e66216 100644
--- a/Source/CTest/cmCTestMemCheckCommand.h
+++ b/Source/CTest/cmCTestMemCheckCommand.h
@@ -17,14 +17,16 @@
#ifndef cmCTestMemCheckCommand_h
#define cmCTestMemCheckCommand_h
-#include "cmCTestCommand.h"
+#include "cmCTestTestCommand.h"
+
+class cmCTestGenericHandler;
/** \class cmCTestMemCheck
* \brief Run a ctest script
*
* cmCTestMemCheckCommand defineds the command to test the project.
*/
-class cmCTestMemCheckCommand : public cmCTestCommand
+class cmCTestMemCheckCommand : public cmCTestTestCommand
{
public:
@@ -42,12 +44,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_MEMCHECK";}
@@ -72,8 +68,10 @@ public:
"will hold value.";
}
- cmTypeMacro(cmCTestMemCheckCommand, cmCTestCommand);
+ cmTypeMacro(cmCTestMemCheckCommand, cmCTestTestCommand);
+protected:
+ cmCTestGenericHandler* InitializeActualHandler();
};