2016-09-27 22:01:08 +03:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
2001-06-12 19:08:25 +04:00
|
|
|
#ifndef cmOutputRequiredFilesCommand_h
|
|
|
|
#define cmOutputRequiredFilesCommand_h
|
|
|
|
|
|
|
|
#include "cmCommand.h"
|
2015-10-21 01:12:31 +03:00
|
|
|
|
|
|
|
class cmDependInformation;
|
2001-06-12 19:08:25 +04:00
|
|
|
|
|
|
|
class cmOutputRequiredFilesCommand : public cmCommand
|
|
|
|
{
|
|
|
|
public:
|
2013-10-18 21:00:17 +04:00
|
|
|
cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
|
2016-06-27 22:25:27 +03:00
|
|
|
cmCommand* Clone() CM_OVERRIDE { return new cmOutputRequiredFilesCommand; }
|
|
|
|
bool InitialPass(std::vector<std::string> const& args,
|
|
|
|
cmExecutionStatus& status) CM_OVERRIDE;
|
|
|
|
std::string GetName() const CM_OVERRIDE { return "output_required_files"; }
|
2016-05-16 17:34:04 +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
|