cmOutputRequiredFilesCommand.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*============================================================================
  2. CMake - Cross Platform Makefile Generator
  3. Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
  4. Distributed under the OSI-approved BSD License (the "License");
  5. see accompanying file Copyright.txt for details.
  6. This software is distributed WITHOUT ANY WARRANTY; without even the
  7. implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  8. See the License for more information.
  9. ============================================================================*/
  10. #ifndef cmOutputRequiredFilesCommand_h
  11. #define cmOutputRequiredFilesCommand_h
  12. #include "cmCommand.h"
  13. #include "cmMakeDepend.h"
  14. class cmOutputRequiredFilesCommand : public cmCommand
  15. {
  16. public:
  17. cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
  18. virtual cmCommand* Clone() { return new cmOutputRequiredFilesCommand; }
  19. virtual bool InitialPass(std::vector<std::string> const& args,
  20. cmExecutionStatus &status);
  21. virtual std::string GetName() const { return "output_required_files";}
  22. virtual bool IsDiscouraged() const { return true; }
  23. void ListDependencies(cmDependInformation const *info,
  24. FILE *fout,
  25. std::set<cmDependInformation const*> *visited);
  26. private:
  27. std::string File;
  28. std::string OutputFile;
  29. };
  30. #endif