cmCTestCommand.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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() {this->CTest = 0; this->CTestScriptHandler = 0;}
  26. cmCTest *CTest;
  27. cmCTestScriptHandler *CTestScriptHandler;
  28. cmTypeMacro(cmCTestCommand, cmCommand);
  29. };
  30. #endif