cmFindPathCommand
| 31 | |
| 32 | // cmFindPathCommand |
| 33 | bool cmFindPathCommand::InitialPass(std::vector<std::string> const& argsIn) |
| 34 | { |
| 35 | this->CMakePathName = "INCLUDE"; |
| 36 | |
| 37 | if (!this->ParseArguments(argsIn)) { |
| 38 | return false; |
| 39 | } |
| 40 | |
| 41 | this->FullDebugMode = this->ComputeIfDebugModeWanted(this->VariableName); |
| 42 | if (this->FullDebugMode || !this->ComputeIfImplicitDebugModeSuppressed()) { |
| 43 | this->DebugState = cm::make_unique<cmFindBaseDebugState>(this); |
| 44 | } |
| 45 | |
| 46 | if (this->IsFound()) { |
| 47 | this->NormalizeFindResult(); |
| 48 | return true; |
| 49 | } |
| 50 | |
| 51 | std::string result = this->FindHeader(); |
| 52 | this->StoreFindResult(result); |
| 53 | return true; |
| 54 | } |
| 55 | |
| 56 | std::string cmFindPathCommand::FindHeader() |
| 57 | { |
no test coverage detected