cmInstallTargetsCommand.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 cmInstallTargetsCommand_h
  4. #define cmInstallTargetsCommand_h
  5. #include "cmCommand.h"
  6. /** \class cmInstallTargetsCommand
  7. * \brief Specifies where to install some targets
  8. *
  9. * cmInstallTargetsCommand specifies the relative path where a list of
  10. * targets should be installed. The targets can be executables or
  11. * libraries.
  12. */
  13. class cmInstallTargetsCommand : public cmCommand
  14. {
  15. public:
  16. /**
  17. * This is a virtual constructor for the command.
  18. */
  19. cmCommand* Clone() CM_OVERRIDE { return new cmInstallTargetsCommand; }
  20. /**
  21. * This is called when the command is first encountered in
  22. * the CMakeLists.txt file.
  23. */
  24. bool InitialPass(std::vector<std::string> const& args,
  25. cmExecutionStatus& status) CM_OVERRIDE;
  26. /**
  27. * The name of the command as specified in CMakeList.txt.
  28. */
  29. std::string GetName() const CM_OVERRIDE { return "install_targets"; }
  30. cmTypeMacro(cmInstallTargetsCommand, cmCommand);
  31. };
  32. #endif