diff options
author | Brad King <brad.king@kitware.com> | 2014-11-13 15:08:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-11-13 15:08:27 (GMT) |
commit | dd89506c1ea85240b81867db5a467e6632a7ec7a (patch) | |
tree | b01e7633d0833f6719c074ecb077056c30c33f7a /Source/cmFindBase.h | |
parent | 8abba9247230b072996213d008a69a4a64456c06 (diff) | |
parent | 1abd7cd930022ba045c3c0cd34406cbe19db84d3 (diff) | |
download | CMake-dd89506c1ea85240b81867db5a467e6632a7ec7a.zip CMake-dd89506c1ea85240b81867db5a467e6632a7ec7a.tar.gz CMake-dd89506c1ea85240b81867db5a467e6632a7ec7a.tar.bz2 |
Merge topic 'refactor-search-path-construction'
1abd7cd9 Use containers of labeled search paths instead of individual members
2a9ac4bd Encapsulate search path manipulation functions into a seperate class.
32922840 Refactor and seperate search path construction for find commands
Diffstat (limited to 'Source/cmFindBase.h')
-rw-r--r-- | Source/cmFindBase.h | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/Source/cmFindBase.h b/Source/cmFindBase.h index 42d9bc1..8ca311d 100644 --- a/Source/cmFindBase.h +++ b/Source/cmFindBase.h @@ -34,7 +34,6 @@ public: protected: void PrintFindStuff(); void ExpandPaths(); - void AddPathSuffixes(); // see if the VariableName is already set in the cache, // also copy the documentation from the cache to VariableDocumentation @@ -55,18 +54,12 @@ protected: bool AlreadyInCacheWithoutMetaInfo; private: // Add pieces of the search. - void AddCMakeEnvironmentPath(); - void AddCMakeVariablePath(); - void AddSystemEnvironmentPath(); - void AddCMakeSystemVariablePath(); - void AddUserHintsPath(); - void AddUserGuessPath(); - - // Helpers. - void AddCMakePrefixPath(const std::string& variable); - void AddEnvPrefixPath(const std::string& variable); - void AddPrefixPaths(std::vector<std::string> const& in_paths, - PathType pathType); + void FillCMakeVariablePath(); + void FillCMakeEnvironmentPath(); + void FillUserHintsPath(); + void FillSystemEnvironmentPath(); + void FillCMakeSystemVariablePath(); + void FillUserGuessPath(); }; |