diff options
author | Chuck Atkins <chuck.atkins@kitware.com> | 2014-10-15 20:36:42 (GMT) |
---|---|---|
committer | Chuck Atkins <chuck.atkins@kitware.com> | 2014-11-11 18:39:51 (GMT) |
commit | 2a9ac4bd83f7247539616545ef0772fea1f4a1fc (patch) | |
tree | a8b99f4caa8522d130b93727a9a345865f2ac35f /Source/cmFindPackageCommand.h | |
parent | 32922840e7ea8a0536fec393352ede5b75087543 (diff) | |
download | CMake-2a9ac4bd83f7247539616545ef0772fea1f4a1fc.zip CMake-2a9ac4bd83f7247539616545ef0772fea1f4a1fc.tar.gz CMake-2a9ac4bd83f7247539616545ef0772fea1f4a1fc.tar.bz2 |
Encapsulate search path manipulation functions into a seperate class.
The functions for adding the various different types of paths have been
factored out into a new class, cmSearchPath. It is to be used as a helper
container class for the various find_* commands.
Diffstat (limited to 'Source/cmFindPackageCommand.h')
-rw-r--r-- | Source/cmFindPackageCommand.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmFindPackageCommand.h b/Source/cmFindPackageCommand.h index f22433e..17bc456 100644 --- a/Source/cmFindPackageCommand.h +++ b/Source/cmFindPackageCommand.h @@ -78,14 +78,13 @@ private: void FillPrefixesCMakeSystemVariable(); void FillPrefixesUserGuess(); void FillPrefixesUserHints(); - void LoadPackageRegistryDir(std::string const& dir, - std::vector<std::string>& outPaths); + void LoadPackageRegistryDir(std::string const& dir, cmSearchPath& outPaths); void LoadPackageRegistryWinUser(); void LoadPackageRegistryWinSystem(); void LoadPackageRegistryWin(bool user, unsigned int view, - std::vector<std::string>& outPaths); + cmSearchPath& outPaths); bool CheckPackageRegistryEntry(const std::string& fname, - std::vector<std::string>& outPaths); + cmSearchPath& outPaths); bool SearchDirectory(std::string const& dir); bool CheckDirectory(std::string const& dir); bool FindConfigFile(std::string const& dir, std::string& file); |