MCPcopy Create free account
hub / github.com/Kitware/CMake / FindProgram

Method FindProgram

Source/cmFindProgramCommand.cxx:218–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218std::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
235std::string cmFindProgramCommand::FindNormalProgram()
236{

Callers 1

InitialPassMethod · 0.95

Calls 3

FindAppBundleMethod · 0.95
FindNormalProgramMethod · 0.95
emptyMethod · 0.45

Tested by

no test coverage detected