/src/CMake/Source/cmFindFileCommand.cxx
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst or https://cmake.org/licensing for details. */ |
3 | | #include "cmFindFileCommand.h" |
4 | | |
5 | | #include "cmStateTypes.h" |
6 | | |
7 | | class cmExecutionStatus; |
8 | | |
9 | | cmFindFileCommand::cmFindFileCommand(cmExecutionStatus& status) |
10 | 0 | : cmFindPathCommand("find_file", status) |
11 | 0 | { |
12 | 0 | this->IncludeFileInPath = true; |
13 | 0 | this->VariableType = cmStateEnums::FILEPATH; |
14 | 0 | } |
15 | | |
16 | | bool cmFindFile(std::vector<std::string> const& args, |
17 | | cmExecutionStatus& status) |
18 | 0 | { |
19 | 0 | return cmFindFileCommand(status).InitialPass(args); |
20 | 0 | } |