cmGetTargetPropertyCommand.h 811 B

12345678910111213141516171819202122232425262728
  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 cmGetTargetPropertyCommand_h
  4. #define cmGetTargetPropertyCommand_h
  5. #include "cmCommand.h"
  6. class cmGetTargetPropertyCommand : public cmCommand
  7. {
  8. public:
  9. cmCommand* Clone() CM_OVERRIDE { return new cmGetTargetPropertyCommand; }
  10. /**
  11. * This is called when the command is first encountered in
  12. * the input file.
  13. */
  14. bool InitialPass(std::vector<std::string> const& args,
  15. cmExecutionStatus& status) CM_OVERRIDE;
  16. /**
  17. * The name of the command as specified in CMakeList.txt.
  18. */
  19. std::string GetName() const CM_OVERRIDE { return "get_target_property"; }
  20. cmTypeMacro(cmGetTargetPropertyCommand, cmCommand);
  21. };
  22. #endif