summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeDirectoryCommand.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-20 11:28:59 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-21 08:12:22 (GMT)
commit0d46e9a0297d78dabc9988604a15c0096c702855 (patch)
tree1f948251b0c737c1bb31ddd81a592936669b83a0 /Source/cmIncludeDirectoryCommand.h
parent5e572619c67c5ba38a68179111f7dea9648690ab (diff)
downloadCMake-0d46e9a0297d78dabc9988604a15c0096c702855.zip
CMake-0d46e9a0297d78dabc9988604a15c0096c702855.tar.gz
CMake-0d46e9a0297d78dabc9988604a15c0096c702855.tar.bz2
Store includes from the same include_directories call together.
Otherwise, we get a separate IncludeDirectoriesEntry for each include, and that causes unnecessary and confusing splitting in the output when debugging the INCLUDE_DIRECTORIES property.
Diffstat (limited to 'Source/cmIncludeDirectoryCommand.h')
-rw-r--r--Source/cmIncludeDirectoryCommand.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmIncludeDirectoryCommand.h b/Source/cmIncludeDirectoryCommand.h
index dd37b82..a32fc77 100644
--- a/Source/cmIncludeDirectoryCommand.h
+++ b/Source/cmIncludeDirectoryCommand.h
@@ -84,7 +84,8 @@ public:
protected:
// used internally
- void AddDirectory(const char *arg, bool before, bool system);
+ void GetIncludes(const std::string &arg, std::vector<std::string> &incs);
+ void NormalizeInclude(std::string &inc);
};