Add label summary times to ctest default output. Also, remove parallel time output...
[cmake.git] / Source / cmGetCMakePropertyCommand.h
blob079cce5b1e80731e7b31e38e18f509c4f2305fbe
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmGetCMakePropertyCommand.h,v $
5 Language: C++
6 Date: $Date: 2008-07-08 15:52:25 $
7 Version: $Revision: 1.9 $
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 cmGetCMakePropertyCommand_h
18 #define cmGetCMakePropertyCommand_h
20 #include "cmCommand.h"
22 class cmGetCMakePropertyCommand : public cmCommand
24 public:
25 virtual cmCommand* Clone()
27 return new cmGetCMakePropertyCommand;
30 /**
31 * This is called when the command is first encountered in
32 * the input file.
34 virtual bool InitialPass(std::vector<std::string> const& args,
35 cmExecutionStatus &status);
37 /**
38 * This determines if the command is invoked when in script mode.
40 virtual bool IsScriptable() { return true; }
42 /**
43 * The name of the command as specified in CMakeList.txt.
45 virtual const char* GetName() { return "get_cmake_property";}
47 /**
48 * Succinct documentation.
50 virtual const char* GetTerseDocumentation()
52 return "Get a property of the CMake instance.";
55 /**
56 * Longer documentation.
58 virtual const char* GetFullDocumentation()
60 return
61 " get_cmake_property(VAR property)\n"
62 "Get a property from the CMake instance. The value of the "
63 "property is stored in the variable VAR. If the property is "
64 "not found, CMake will report an error. Some supported properties "
65 "include: VARIABLES, CACHE_VARIABLES, COMMANDS, MACROS, and "
66 "COMPONENTS.";
69 cmTypeMacro(cmGetCMakePropertyCommand, cmCommand);
74 #endif