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

Method FindHeader

Source/cmFindPathCommand.cxx:56–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56std::string cmFindPathCommand::FindHeader()
57{
58 std::string header;
59 if (this->SearchFrameworkFirst || this->SearchFrameworkOnly) {
60 header = this->FindFrameworkHeader();
61 }
62 if (header.empty() && !this->SearchFrameworkOnly) {
63 header = this->FindNormalHeader();
64 }
65 if (header.empty() && this->SearchFrameworkLast) {
66 header = this->FindFrameworkHeader();
67 }
68
69 return header;
70}
71
72std::string cmFindPathCommand::FindHeaderInFramework(
73 std::string const& file, std::string const& dir) const

Callers 1

InitialPassMethod · 0.95

Calls 3

FindFrameworkHeaderMethod · 0.95
FindNormalHeaderMethod · 0.95
emptyMethod · 0.45

Tested by

no test coverage detected