summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-11-18 14:11:10 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-11-19 17:07:04 (GMT)
commit0f876439e941c18f7fc264fbf02f5df9bc531f90 (patch)
treea46dad0a7706c61475dd0306c045d59f70f2d3c3 /Source
parent1da77bf1ee4f3ba315ebb00da2eaeac474614cad (diff)
downloadCMake-0f876439e941c18f7fc264fbf02f5df9bc531f90.zip
CMake-0f876439e941c18f7fc264fbf02f5df9bc531f90.tar.gz
CMake-0f876439e941c18f7fc264fbf02f5df9bc531f90.tar.bz2
cmGeneratorTarget: Make GetIncludeDirectories const.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorTarget.cxx4
-rw-r--r--Source/cmGeneratorTarget.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index b964f71..011fc6c 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -611,8 +611,8 @@ const char* cmGeneratorTarget::GetCreateRuleVariable() const
}
//----------------------------------------------------------------------------
-std::vector<std::string> cmGeneratorTarget::GetIncludeDirectories(
- const char *config)
+std::vector<std::string>
+cmGeneratorTarget::GetIncludeDirectories(const char *config) const
{
return this->Target->GetIncludeDirectories(config);
}
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 177bc25..69d1bb2 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -70,7 +70,7 @@ public:
const char* GetCreateRuleVariable() const;
/** Get the include directories for this target. */
- std::vector<std::string> GetIncludeDirectories(const char *config);
+ std::vector<std::string> GetIncludeDirectories(const char *config) const;
bool IsSystemIncludeDirectory(const char *dir, const char *config) const;