cmGetFilenameComponentCommand.h 685 B

12345678910111213141516171819202122
  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 cmGetFilenameComponentCommand_h
  4. #define cmGetFilenameComponentCommand_h
  5. #include "cmConfigure.h" // IWYU pragma: keep
  6. #include <string>
  7. #include <vector>
  8. class cmExecutionStatus;
  9. /**
  10. * \brief Get a specific component of a filename.
  11. *
  12. * cmGetFilenameComponentCommand is a utility command used to get the path,
  13. * name, extension or name without extension of a full filename.
  14. */
  15. bool cmGetFilenameComponentCommand(std::vector<std::string> const& args,
  16. cmExecutionStatus& status);
  17. #endif