2009-09-28 15:43:28 +00:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2005-07-31 15:51:42 +00:00
|
|
|
|
2009-09-28 15:43:28 +00:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2005-07-31 15:51:42 +00:00
|
|
|
|
2009-09-28 15:43:28 +00:00
|
|
|
This software is distributed WITHOUT ANY WARRANTY; without even the
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
See the License for more information.
|
|
|
|
============================================================================*/
|
2005-07-31 15:51:42 +00:00
|
|
|
#ifndef cmGetTestPropertyCommand_h
|
|
|
|
#define cmGetTestPropertyCommand_h
|
|
|
|
|
|
|
|
#include "cmCommand.h"
|
|
|
|
|
|
|
|
class cmGetTestPropertyCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2012-08-13 17:42:58 +00:00
|
|
|
virtual cmCommand* Clone()
|
2005-07-31 15:51:42 +00:00
|
|
|
{
|
|
|
|
return new cmGetTestPropertyCommand;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This is called when the command is first encountered in
|
|
|
|
* the input file.
|
|
|
|
*/
|
2008-01-23 15:28:26 +00:00
|
|
|
virtual bool InitialPass(std::vector<std::string> const& args,
|
|
|
|
cmExecutionStatus &status);
|
2005-07-31 15:51:42 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The name of the command as specified in CMakeList.txt.
|
|
|
|
*/
|
2014-02-25 01:19:17 +00:00
|
|
|
virtual std::string GetName() const { return "get_test_property";}
|
2005-07-31 15:51:42 +00:00
|
|
|
|
|
|
|
cmTypeMacro(cmGetTestPropertyCommand, cmCommand);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|