cmGetSourceFilePropertyCommand.h 844 B

12345678910111213141516171819202122232425262728293031
  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 cmGetSourceFilePropertyCommand_h
  4. #define cmGetSourceFilePropertyCommand_h
  5. #include "cmCommand.h"
  6. class cmGetSourceFilePropertyCommand : public cmCommand
  7. {
  8. public:
  9. cmCommand* Clone() CM_OVERRIDE { return new cmGetSourceFilePropertyCommand; }
  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
  20. {
  21. return "get_source_file_property";
  22. }
  23. cmTypeMacro(cmGetSourceFilePropertyCommand, cmCommand);
  24. };
  25. #endif