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

Method FindLibrary

Source/cmFindLibraryCommand.cxx:182–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182std::string cmFindLibraryCommand::FindLibrary()
183{
184 std::string library;
185 if (this->SearchFrameworkFirst || this->SearchFrameworkOnly) {
186 library = this->FindFrameworkLibrary();
187 }
188 if (library.empty() && !this->SearchFrameworkOnly) {
189 library = this->FindNormalLibrary();
190 }
191 if (library.empty() && this->SearchFrameworkLast) {
192 library = this->FindFrameworkLibrary();
193 }
194 return library;
195}
196
197struct cmFindLibraryHelper
198{

Callers 1

InitialPassMethod · 0.95

Calls 3

FindFrameworkLibraryMethod · 0.95
FindNormalLibraryMethod · 0.95
emptyMethod · 0.45

Tested by

no test coverage detected