2009-09-28 19:43:28 +04:00
|
|
|
/*============================================================================
|
|
|
|
CMake - Cross Platform Makefile Generator
|
|
|
|
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
|
2001-06-12 19:08:25 +04:00
|
|
|
|
2009-09-28 19:43:28 +04:00
|
|
|
Distributed under the OSI-approved BSD License (the "License");
|
|
|
|
see accompanying file Copyright.txt for details.
|
2001-06-12 19:08:25 +04:00
|
|
|
|
2009-09-28 19:43:28 +04: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-06-12 19:08:25 +04:00
|
|
|
#ifndef cmOutputRequiredFilesCommand_h
|
|
|
|
#define cmOutputRequiredFilesCommand_h
|
|
|
|
|
|
|
|
#include "cmCommand.h"
|
2004-02-22 21:14:59 +03:00
|
|
|
#include "cmMakeDepend.h"
|
2001-06-12 19:08:25 +04:00
|
|
|
|
|
|
|
class cmOutputRequiredFilesCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2013-10-18 21:00:17 +04:00
|
|
|
cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
|
|
|
|
virtual cmCommand* Clone() { return new cmOutputRequiredFilesCommand; }
|
2008-01-23 18:28:26 +03:00
|
|
|
virtual bool InitialPass(std::vector<std::string> const& args,
|
|
|
|
cmExecutionStatus &status);
|
2014-02-25 05:19:17 +04:00
|
|
|
virtual std::string GetName() const { return "output_required_files";}
|
2013-10-18 21:00:17 +04:00
|
|
|
virtual bool IsDiscouraged() const { return true; }
|
2001-06-12 19:08:25 +04:00
|
|
|
|
2002-12-10 22:10:15 +03:00
|
|
|
void ListDependencies(cmDependInformation const *info,
|
|
|
|
FILE *fout,
|
|
|
|
std::set<cmDependInformation const*> *visited);
|
2001-06-12 19:08:25 +04:00
|
|
|
private:
|
2006-03-15 19:02:08 +03:00
|
|
|
std::string File;
|
|
|
|
std::string OutputFile;
|
2001-06-12 19:08:25 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|