cmCTestCommand.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*=========================================================================
  2. Program: CMake - Cross-Platform Makefile Generator
  3. Module: $RCSfile$
  4. Language: C++
  5. Date: $Date$
  6. Version: $Revision$
  7. Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
  8. See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
  9. This software is distributed WITHOUT ANY WARRANTY; without even
  10. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  11. PURPOSE. See the above copyright notices for more information.
  12. =========================================================================*/
  13. #ifndef cmCTestCommand_h
  14. #define cmCTestCommand_h
  15. #include "cmCommand.h"
  16. class cmCTest;
  17. class cmCTestScriptHandler;
  18. /** \class cmCTestCommand
  19. * \brief A superclass for all commands added to the CTestScriptHandler
  20. *
  21. * cmCTestCommand is the superclass for all commands that will be added to
  22. * the ctest script handlers parser.
  23. *
  24. */
  25. class cmCTestCommand : public cmCommand
  26. {
  27. public:
  28. cmCTestCommand() {this->CTest = 0; this->CTestScriptHandler = 0;}
  29. cmCTest *CTest;
  30. cmCTestScriptHandler *CTestScriptHandler;
  31. cmTypeMacro(cmCTestCommand, cmCommand);
  32. };
  33. #endif