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/cmMakefile.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/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index a85015f..bb161b1 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -287,7 +287,8 @@ public: /** * Add an include directory to the build. */ - void AddIncludeDirectory(const char*, bool before = false); + void AddIncludeDirectories(const std::vector<std::string> &incs, + bool before = false); /** * Add a variable definition to the build. This variable @@ -545,7 +546,7 @@ public: /** * Mark include directories as system directories. */ - void AddSystemIncludeDirectory(const char* dir); + void AddSystemIncludeDirectories(const std::set<cmStdString> &incs); bool IsSystemIncludeDirectory(const char* dir); /** Expand out any arguements in the vector that have ; separated |