summaryrefslogtreecommitdiffstats
path: root/Source/cmOrderDirectories.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-14 14:14:41 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-14 14:14:41 (GMT)
commitd60608c858b5d3f521ee03b86c5d6eb215ff7af0 (patch)
tree631ac531cff02a42821bcf2247d0483ab2b3bace /Source/cmOrderDirectories.h
parentb44413f9f8e92280325d105d3095f5bb4a3f090f (diff)
downloadCMake-d60608c858b5d3f521ee03b86c5d6eb215ff7af0.zip
CMake-d60608c858b5d3f521ee03b86c5d6eb215ff7af0.tar.gz
CMake-d60608c858b5d3f521ee03b86c5d6eb215ff7af0.tar.bz2
STYLE: Factor CollectOriginalDirectories code
This factors code out of cmOrderDirectories::CollectOriginalDirectories into cmOrderDirectories::AddOriginalDirectories. Later a new call will be added, and this is more readable anyway.
Diffstat (limited to 'Source/cmOrderDirectories.h')
-rw-r--r--Source/cmOrderDirectories.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmOrderDirectories.h b/Source/cmOrderDirectories.h
index 5407733..6d05f93 100644
--- a/Source/cmOrderDirectories.h
+++ b/Source/cmOrderDirectories.h
@@ -66,6 +66,7 @@ private:
std::vector<int> DirectoryVisited;
void CollectOriginalDirectories();
int AddOriginalDirectory(std::string const& dir);
+ void AddOriginalDirectories(std::vector<std::string> const& dirs);
void FindConflicts();
void FindImplicitConflicts();
void OrderDirectories();