cmExportLibraryDependenciesCommand.h 989 B

123456789101112131415161718192021222324252627282930313233343536373839
  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>
  6. #include <string>
  7. #include <vector>
  8. #include "cmCommand.h"
  9. #include "cmTypeMacro.h"
  10. class cmExecutionStatus;
  11. class cmExportLibraryDependenciesCommand : public cmCommand
  12. {
  13. public:
  14. cmTypeMacro(cmExportLibraryDependenciesCommand, cmCommand);
  15. cmCommand* Clone() CM_OVERRIDE
  16. {
  17. return new cmExportLibraryDependenciesCommand;
  18. }
  19. bool InitialPass(std::vector<std::string> const& args,
  20. cmExecutionStatus& status) CM_OVERRIDE;
  21. std::string GetName() const CM_OVERRIDE
  22. {
  23. return "export_library_dependencies";
  24. }
  25. void FinalPass() CM_OVERRIDE;
  26. bool HasFinalPass() const CM_OVERRIDE { return true; }
  27. private:
  28. std::string Filename;
  29. bool Append;
  30. void ConstFinalPass() const;
  31. };
  32. #endif