| 216 | } |
| 217 | |
| 218 | std::string cmFindProgramCommand::FindProgram() |
| 219 | { |
| 220 | std::string program; |
| 221 | |
| 222 | if (this->SearchAppBundleFirst || this->SearchAppBundleOnly) { |
| 223 | program = this->FindAppBundle(); |
| 224 | } |
| 225 | if (program.empty() && !this->SearchAppBundleOnly) { |
| 226 | program = this->FindNormalProgram(); |
| 227 | } |
| 228 | |
| 229 | if (program.empty() && this->SearchAppBundleLast) { |
| 230 | program = this->FindAppBundle(); |
| 231 | } |
| 232 | return program; |
| 233 | } |
| 234 | |
| 235 | std::string cmFindProgramCommand::FindNormalProgram() |
| 236 | { |
no test coverage detected