2009-09-28 15:43:28 +00:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2001-11-19 14:34:29 +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.
|
2001-11-19 14:34:29 +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.
|
|
|
|
============================================================================*/
|
2001-11-19 14:34:29 +00:00
|
|
|
#ifndef cmVariableRequiresCommand_h
|
|
|
|
#define cmVariableRequiresCommand_h
|
|
|
|
|
|
|
|
#include "cmCommand.h"
|
|
|
|
|
|
|
|
class cmVariableRequiresCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2013-10-21 15:58:48 +00:00
|
|
|
cmTypeMacro(cmVariableRequiresCommand, cmCommand);
|
|
|
|
virtual cmCommand* Clone() { return new cmVariableRequiresCommand; }
|
2008-01-23 15:28:26 +00:00
|
|
|
virtual bool InitialPass(std::vector<std::string> const& args,
|
|
|
|
cmExecutionStatus &status);
|
2014-02-25 01:19:17 +00:00
|
|
|
virtual std::string GetName() const { return "variable_requires";}
|
2013-10-21 15:58:48 +00:00
|
|
|
virtual bool IsDiscouraged() const { return true; }
|
2001-11-19 14:34:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|