cmExportLibraryDependenciesCommand.h 885 B

123456789101112131415161718192021222324252627282930313233343536
  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 cmExportLibraryDependenciesCommand_h
  4. #define cmExportLibraryDependenciesCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. #include "cm_memory.hxx"
  9. #include "cmCommand.h"
  10. class cmExecutionStatus;
  11. class cmExportLibraryDependenciesCommand : public cmCommand
  12. {
  13. public:
  14. std::unique_ptr<cmCommand> Clone() override
  15. {
  16. return cm::make_unique<cmExportLibraryDependenciesCommand>();
  17. }
  18. bool InitialPass(std::vector<std::string> const& args,
  19. cmExecutionStatus& status) override;
  20. void FinalPass() override;
  21. bool HasFinalPass() const override { return true; }
  22. private:
  23. std::string Filename;
  24. bool Append = false;
  25. void ConstFinalPass() const;
  26. };
  27. #endif