cmOutputRequiredFilesCommand.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. void ListDependencies(cmDependInformation const *info,
  23. FILE *fout,
  24. std::set<cmDependInformation const*> *visited);
  25. private:
  26. std::string File;
  27. std::string OutputFile;
  28. };
  29. #endif