diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-20 11:28:59 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-21 08:12:22 (GMT) |
commit | 0d46e9a0297d78dabc9988604a15c0096c702855 (patch) | |
tree | 1f948251b0c737c1bb31ddd81a592936669b83a0 /Source/cmIncludeDirectoryCommand.h | |
parent | 5e572619c67c5ba38a68179111f7dea9648690ab (diff) | |
download | CMake-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.h | 3 |
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); }; |