\class cmFindLibraryCommand * \brief Define a command to search for a library. * * cmFindLibraryCommand is used to define a CMake variable * that specifies a library. The command searches for a given * file in a list of directories. */
| 19 | * file in a list of directories. |
| 20 | */ |
| 21 | class cmFindLibraryCommand : public cmFindBase |
| 22 | { |
| 23 | public: |
| 24 | cmFindLibraryCommand(cmExecutionStatus& status); |
| 25 | |
| 26 | bool InitialPass(std::vector<std::string> const& args); |
| 27 | |
| 28 | protected: |
| 29 | void AddArchitecturePaths(char const* suffix); |
| 30 | void AddArchitecturePath(std::string const& dir, |
| 31 | std::string::size_type start_pos, |
| 32 | char const* suffix, bool fresh = true); |
| 33 | std::string FindLibrary(); |
| 34 | |
| 35 | private: |
| 36 | std::string FindNormalLibrary(); |
| 37 | std::string FindNormalLibraryNamesPerDir(); |
| 38 | std::string FindNormalLibraryDirsPerName(); |
| 39 | std::string FindFrameworkLibrary(); |
| 40 | std::string FindFrameworkLibraryNamesPerDir(); |
| 41 | std::string FindFrameworkLibraryDirsPerName(); |
| 42 | }; |
| 43 | |
| 44 | bool cmFindLibrary(std::vector<std::string> const& args, |
| 45 | cmExecutionStatus& status); |
no outgoing calls
no test coverage detected
searching dependent graphs…