12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- #ifndef cmFindLibraryCommand_h
- #define cmFindLibraryCommand_h
- #include "cmConfigure.h"
- #include <string>
- #include <vector>
- #include "cmFindBase.h"
- class cmCommand;
- class cmExecutionStatus;
- class cmFindLibraryCommand : public cmFindBase
- {
- public:
- cmFindLibraryCommand();
-
- cmCommand* Clone() override { return new cmFindLibraryCommand; }
-
- bool InitialPass(std::vector<std::string> const& args,
- cmExecutionStatus& status) override;
- protected:
- void AddArchitecturePaths(const char* suffix);
- void AddArchitecturePath(std::string const& dir,
- std::string::size_type start_pos,
- const char* suffix, bool fresh = true);
- std::string FindLibrary();
- private:
- std::string FindNormalLibrary();
- std::string FindNormalLibraryNamesPerDir();
- std::string FindNormalLibraryDirsPerName();
- std::string FindFrameworkLibrary();
- std::string FindFrameworkLibraryNamesPerDir();
- std::string FindFrameworkLibraryDirsPerName();
- };
- #endif
|