diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 17:04:18 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-06-23 17:04:18 (GMT) |
commit | 1b578d3180ce60976e4cbe928fce988acfd0da39 (patch) | |
tree | cdefbf878667d466318aeabfa77cc7625cb4777e /Source/CTest/cmCTestMemCheckCommand.h | |
parent | 5c68b61a9caab3f89031155d129b9498d840e502 (diff) | |
download | CMake-1b578d3180ce60976e4cbe928fce988acfd0da39.zip CMake-1b578d3180ce60976e4cbe928fce988acfd0da39.tar.gz CMake-1b578d3180ce60976e4cbe928fce988acfd0da39.tar.bz2 |
ENH: Several improvements with the way things are handled. Also, support multiple submited files
Diffstat (limited to 'Source/CTest/cmCTestMemCheckCommand.h')
-rw-r--r-- | Source/CTest/cmCTestMemCheckCommand.h | 16 |
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(); }; |