diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-09-10 19:44:48 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-09-10 20:13:11 (GMT) |
commit | 8a18bb7cdf2478d68e11a5e532b5134ea92b3678 (patch) | |
tree | e0210e119c21d5326041969831ed2e97b1ed413c /Source/cmFindFileCommand.cxx | |
parent | 95d4a2d05562c5f0a4113527d31dadef4d7756bd (diff) | |
download | CMake-8a18bb7cdf2478d68e11a5e532b5134ea92b3678.zip CMake-8a18bb7cdf2478d68e11a5e532b5134ea92b3678.tar.gz CMake-8a18bb7cdf2478d68e11a5e532b5134ea92b3678.tar.bz2 |
cmFind*: Port away from cmCommand
Diffstat (limited to 'Source/cmFindFileCommand.cxx')
-rw-r--r-- | Source/cmFindFileCommand.cxx | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmFindFileCommand.cxx b/Source/cmFindFileCommand.cxx index 9840c4f..29a2bc4 100644 --- a/Source/cmFindFileCommand.cxx +++ b/Source/cmFindFileCommand.cxx @@ -2,7 +2,16 @@ file Copyright.txt or https://cmake.org/licensing for details. */ #include "cmFindFileCommand.h" -cmFindFileCommand::cmFindFileCommand() +class cmExecutionStatus; + +cmFindFileCommand::cmFindFileCommand(cmExecutionStatus& status) + : cmFindPathCommand(status) { this->IncludeFileInPath = true; } + +bool cmFindFile(std::vector<std::string> const& args, + cmExecutionStatus& status) +{ + return cmFindFileCommand(status).InitialPass(args); +} |