cmOutputRequiredFilesCommand.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmOutputRequiredFilesCommand_h
  4. #define cmOutputRequiredFilesCommand_h
  5. #include <cmConfigure.h>
  6. #include <set>
  7. #include <stdio.h>
  8. #include <string>
  9. #include <vector>
  10. #include "cmCommand.h"
  11. #include "cmTypeMacro.h"
  12. class cmDependInformation;
  13. class cmExecutionStatus;
  14. class cmOutputRequiredFilesCommand : public cmCommand
  15. {
  16. public:
  17. cmTypeMacro(cmOutputRequiredFilesCommand, cmCommand);
  18. cmCommand* Clone() CM_OVERRIDE { return new cmOutputRequiredFilesCommand; }
  19. bool InitialPass(std::vector<std::string> const& args,
  20. cmExecutionStatus& status) CM_OVERRIDE;
  21. std::string GetName() const CM_OVERRIDE { return "output_required_files"; }
  22. void ListDependencies(cmDependInformation const* info, FILE* fout,
  23. std::set<cmDependInformation const*>* visited);
  24. private:
  25. std::string File;
  26. std::string OutputFile;
  27. };
  28. #endif