resolve cyclic dependency with zstd
[platform/upstream/cmake.git] / Source / cmGetFilenameComponentCommand.h
1 /* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
2    file Copyright.txt or https://cmake.org/licensing for details.  */
3 #pragma once
4
5 #include "cmConfigure.h" // IWYU pragma: keep
6
7 #include <string>
8 #include <vector>
9
10 class cmExecutionStatus;
11
12 /**
13  * \brief Get a specific component of a filename.
14  *
15  * cmGetFilenameComponentCommand is a utility command used to get the path,
16  * name, extension or name without extension of a full filename.
17  */
18 bool cmGetFilenameComponentCommand(std::vector<std::string> const& args,
19                                    cmExecutionStatus& status);