CMake/Source/CTest/cmCTestCommand.h
Andy Cedilnik 2cc5ed49d1 ENH: Several improvements to CTest:
1. Support for showing line numbers when debugging ctest --show-line-numbers
2. Modify the ctest initialization code, so that it can be delayed
3. Handlers now have corresponding command if they were invoked from the command (so far only update actually use that)
4. Start command is simplified and the functionality is moved to CTest
5. Update can perform initial checkout if CTEST_CHECKOUT_COMMAND is set
6. Add test that checks out kwsys and perform tests on the fresh checkout
2005-06-16 13:18:21 -04:00

46 lines
1.2 KiB
C++

/*=========================================================================
Program: CMake - Cross-Platform Makefile Generator
Module: $RCSfile$
Language: C++
Date: $Date$
Version: $Revision$
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notices for more information.
=========================================================================*/
#ifndef cmCTestCommand_h
#define cmCTestCommand_h
#include "cmCommand.h"
class cmCTest;
class cmCTestScriptHandler;
/** \class cmCTestCommand
* \brief A superclass for all commands added to the CTestScriptHandler
*
* cmCTestCommand is the superclass for all commands that will be added to
* the ctest script handlers parser.
*
*/
class cmCTestCommand : public cmCommand
{
public:
cmCTestCommand() {m_CTest = 0; m_CTestScriptHandler = 0;}
cmCTest *m_CTest;
cmCTestScriptHandler *m_CTestScriptHandler;
cmTypeMacro(cmCTestCommand, cmCommand);
};
#endif