cmCTestCommand.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmCTestCommand_h
  11. #define cmCTestCommand_h
  12. #include "cmCommand.h"
  13. class cmCTest;
  14. class cmCTestScriptHandler;
  15. /** \class cmCTestCommand
  16. * \brief A superclass for all commands added to the CTestScriptHandler
  17. *
  18. * cmCTestCommand is the superclass for all commands that will be added to
  19. * the ctest script handlers parser.
  20. *
  21. */
  22. class cmCTestCommand : public cmCommand
  23. {
  24. public:
  25. cmCTestCommand()
  26. {
  27. this->CTest = CM_NULLPTR;
  28. this->CTestScriptHandler = CM_NULLPTR;
  29. }
  30. cmCTest* CTest;
  31. cmCTestScriptHandler* CTestScriptHandler;
  32. cmTypeMacro(cmCTestCommand, cmCommand);
  33. };
  34. #endif