Add label summary times to ctest default output. Also, remove parallel time output...
[cmake.git] / Source / cmExecutionStatus.h
blob1044aa3897668260bfcc151039916c6982d58126
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmExecutionStatus.h,v $
5 Language: C++
6 Date: $Date: 2008-03-07 13:40:36 $
7 Version: $Revision: 1.2 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #ifndef cmExecutionStatus_h
18 #define cmExecutionStatus_h
20 #include "cmObject.h"
22 /** \class cmExecutionStatus
23 * \brief Superclass for all command status classes
25 * when a command is involked it may set values on a command status instance
27 class cmExecutionStatus : public cmObject
29 public:
30 cmTypeMacro(cmExecutionStatus, cmObject);
32 cmExecutionStatus() { this->Clear();};
34 virtual void SetReturnInvoked(bool val)
35 { this->ReturnInvoked = val; }
36 virtual bool GetReturnInvoked()
37 { return this->ReturnInvoked; }
39 virtual void SetBreakInvoked(bool val)
40 { this->BreakInvoked = val; }
41 virtual bool GetBreakInvoked()
42 { return this->BreakInvoked; }
44 virtual void Clear()
46 this->ReturnInvoked = false;
47 this->BreakInvoked = false;
48 this->NestedError = false;
50 virtual void SetNestedError(bool val) { this->NestedError = val; }
51 virtual bool GetNestedError() { return this->NestedError; }
54 protected:
55 bool ReturnInvoked;
56 bool BreakInvoked;
57 bool NestedError;
60 #endif